diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-10 08:42:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 08:42:16 -0400 |
commit | 63468464e8365adefebee7127be888ea649edd8e (patch) | |
tree | 1b4d8c8a9af7736f5f4cc813d7897341a3c2b27c /pkg/bindings/images/diff.go | |
parent | 9967f28339dc43c97966bc07345af53a374faf67 (diff) | |
parent | 87718c4e676dc503f67ca6f283c4242cf19f9eb7 (diff) | |
download | podman-63468464e8365adefebee7127be888ea649edd8e.tar.gz podman-63468464e8365adefebee7127be888ea649edd8e.tar.bz2 podman-63468464e8365adefebee7127be888ea649edd8e.zip |
Merge pull request #6546 from rhatdan/lint
Turn on golint
Diffstat (limited to 'pkg/bindings/images/diff.go')
-rw-r--r-- | pkg/bindings/images/diff.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/images/diff.go b/pkg/bindings/images/diff.go index e2d344ea0..25cbde188 100644 --- a/pkg/bindings/images/diff.go +++ b/pkg/bindings/images/diff.go @@ -9,13 +9,13 @@ import ( ) // Diff provides the changes between two container layers -func Diff(ctx context.Context, nameOrId string) ([]archive.Change, error) { +func Diff(ctx context.Context, nameOrID string) ([]archive.Change, error) { conn, err := bindings.GetClient(ctx) if err != nil { return nil, err } - response, err := conn.DoRequest(nil, http.MethodGet, "/images/%s/changes", nil, nil, nameOrId) + response, err := conn.DoRequest(nil, http.MethodGet, "/images/%s/changes", nil, nil, nameOrID) if err != nil { return nil, err } |