summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/diff.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/images/diff.go')
-rw-r--r--pkg/bindings/images/diff.go6
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