diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-21 17:13:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-21 17:13:36 +0200 |
commit | 363f8820bc6d9ee19d2c95cfcbb05e93938cd53c (patch) | |
tree | 039de0bf1249b2762fa385ee8397ce569c83b9c0 /libpod | |
parent | 58baeab3303f0a666bca1f3dce706908f60626e1 (diff) | |
parent | 9add1abd12bbadef3dac778a72072fae3cb9c08b (diff) | |
download | podman-363f8820bc6d9ee19d2c95cfcbb05e93938cd53c.tar.gz podman-363f8820bc6d9ee19d2c95cfcbb05e93938cd53c.tar.bz2 podman-363f8820bc6d9ee19d2c95cfcbb05e93938cd53c.zip |
Merge pull request #6312 from rhatdan/image
Fix remote handling of podman images calls
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/image/filters.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/image/filters.go b/libpod/image/filters.go index 8ca3526a0..747eba165 100644 --- a/libpod/image/filters.go +++ b/libpod/image/filters.go @@ -170,8 +170,7 @@ func (ir *Runtime) createFilterFuncs(filters []string, img *Image) ([]ResultFilt labelFilter := strings.Join(splitFilter[1:], "=") filterFuncs = append(filterFuncs, LabelFilter(ctx, labelFilter)) case "reference": - referenceFilter := strings.Join(splitFilter[1:], "=") - filterFuncs = append(filterFuncs, ReferenceFilter(ctx, referenceFilter)) + filterFuncs = append(filterFuncs, ReferenceFilter(ctx, splitFilter[1])) case "id": filterFuncs = append(filterFuncs, IdFilter(splitFilter[1])) default: |