diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-02-04 12:48:13 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-02-10 12:36:45 +0100 |
commit | 76e2a0c5d3365205cb104280d41015d6ab25cd9a (patch) | |
tree | caaa958c7b9c09f283e7e4498fdd8c473403f32e /cmd | |
parent | ee811431d29962c3a801903ca3ca342a2000f65e (diff) | |
download | podman-76e2a0c5d3365205cb104280d41015d6ab25cd9a.tar.gz podman-76e2a0c5d3365205cb104280d41015d6ab25cd9a.tar.bz2 podman-76e2a0c5d3365205cb104280d41015d6ab25cd9a.zip |
v2 api: /libpod/images/pull
Implement the /libpod/images/pull endpoint and correct the swagger docs.
The reference parameter is mandatory and must either be a
c/image/docker/reference or a reference to the "docker://" transport as
the pull endpoint is meant to only support pulling images from a
registry.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/pull.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/pull.go b/cmd/podman/pull.go index 1cbb3f45e..b5957d7fe 100644 --- a/cmd/podman/pull.go +++ b/cmd/podman/pull.go @@ -101,6 +101,7 @@ func pullCmd(c *cliconfig.PullValues) (retError error) { } } + // FIXME: that's a bug. What if we pass "localhost:5000/no-tag" ? arr := strings.SplitN(args[0], ":", 2) if len(arr) == 2 { if c.Bool("all-tags") { |