diff options
author | baude <bbaude@redhat.com> | 2018-11-27 10:33:19 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-11-28 09:26:24 -0600 |
commit | 61d4db480650c57d383990750ed87990e903f4da (patch) | |
tree | 493a2836ecaf14ef708cf53eb96c292db37c1152 /cmd/podman/images.go | |
parent | effd63d6d5c2541f09745261a1e9205fa531e526 (diff) | |
download | podman-61d4db480650c57d383990750ed87990e903f4da.tar.gz podman-61d4db480650c57d383990750ed87990e903f4da.tar.bz2 podman-61d4db480650c57d383990750ed87990e903f4da.zip |
Fix golang formatting issues
Whe running unittests on newer golang versions, we observe failures with some
formatting types when no declared correctly.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/images.go')
-rw-r--r-- | cmd/podman/images.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/images.go b/cmd/podman/images.go index c52b26260..3351123ed 100644 --- a/cmd/podman/images.go +++ b/cmd/podman/images.go @@ -376,13 +376,13 @@ func CreateFilterFuncs(ctx context.Context, r *libpod.Runtime, c *cli.Context, i case "before": before, err := r.ImageRuntime().NewFromLocal(splitFilter[1]) if err != nil { - return nil, errors.Wrapf(err, "unable to find image % in local stores", splitFilter[1]) + return nil, errors.Wrapf(err, "unable to find image %s in local stores", splitFilter[1]) } filterFuncs = append(filterFuncs, image.CreatedBeforeFilter(before.Created())) case "after": after, err := r.ImageRuntime().NewFromLocal(splitFilter[1]) if err != nil { - return nil, errors.Wrapf(err, "unable to find image % in local stores", splitFilter[1]) + return nil, errors.Wrapf(err, "unable to find image %s in local stores", splitFilter[1]) } filterFuncs = append(filterFuncs, image.CreatedAfterFilter(after.Created())) case "dangling": |