diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-16 14:04:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 14:04:11 +0000 |
commit | 978c0767fa72abfa41f720f6fab34a62e3ac7a12 (patch) | |
tree | 0f70b9aa485fc18a12f9811a234a4e660b24ab16 /pkg/bindings/images/diff.go | |
parent | f1f7b8f6c80916bc88f5a01137e0d9fd971f8ac1 (diff) | |
parent | 8d4e19634cf73f257ca7f5d2c9506183f6a5b183 (diff) | |
download | podman-978c0767fa72abfa41f720f6fab34a62e3ac7a12.tar.gz podman-978c0767fa72abfa41f720f6fab34a62e3ac7a12.tar.bz2 podman-978c0767fa72abfa41f720f6fab34a62e3ac7a12.zip |
Merge pull request #8715 from baude/bindings3images
Podman image bindings for 3.0
Diffstat (limited to 'pkg/bindings/images/diff.go')
-rw-r--r-- | pkg/bindings/images/diff.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/bindings/images/diff.go b/pkg/bindings/images/diff.go index 10d50b0fd..8802c15e2 100644 --- a/pkg/bindings/images/diff.go +++ b/pkg/bindings/images/diff.go @@ -9,7 +9,11 @@ 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, options *DiffOptions) ([]archive.Change, error) { + if options == nil { + options = new(DiffOptions) + } + _ = options conn, err := bindings.GetClient(ctx) if err != nil { return nil, err |