1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server
Fabio Falci 103ae23504 Fix getImagesJSON output for api less than 1.7
Tag can be a number, like centos:6.4, and so must be handled like a
string otherwise will lose quotation marks when converting to json
and the client (API < 1.7) will try to convert to int, failing
because the type is string. Additionally using ParseRepositoryTag to
parse repository names to split the tag because an URL can have : and
so more than one occurrence of : can be found on repository names.

Docker-DCO-1.1-Signed-off-by: Fabio Falci <fabiofalci@gmail.com> (github: fabiofalci)
2014-07-31 18:15:16 -07:00
..
MAINTAINERS api/server/MAINTAINERS: comment proppy (vacation) 2014-07-14 10:13:46 -07:00
server.go Fix getImagesJSON output for api less than 1.7 2014-07-31 18:15:16 -07:00
server_unit_test.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00