diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-20 20:46:43 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-21 09:28:42 -0400 |
commit | a4c8198afd2b92b40b95c6fe01756cf2d0076cb6 (patch) | |
tree | bc447a449a45e27a73579e762f48fc0e05cd2e9b /libpod/image/filters.go | |
parent | 8db7b9ea219ef06c50919dcfabdfdca5676e1456 (diff) | |
download | podman-a4c8198afd2b92b40b95c6fe01756cf2d0076cb6.tar.gz podman-a4c8198afd2b92b40b95c6fe01756cf2d0076cb6.tar.bz2 podman-a4c8198afd2b92b40b95c6fe01756cf2d0076cb6.zip |
Fix remote handling of podman images calls
Enable three more tests
Fix handling of image filters
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/image/filters.go')
-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: |