mirror of
https://github.com/docker/cli.git
synced 2026-09-09 18:14:54 -05:00
574263662b9b8659a78cb9a9d6991007ad0e206b
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) Upstream-commit: 103ae23504b9fdc52e4f7d4a50798553af09bfe5 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%