Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 42218d2

Browse files
committed
cnab-go OperationConfigs panic if we pass a nil function
Signed-off-by: Yves Brissaud <[email protected]>
1 parent de787f1 commit 42218d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/image/inspect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func runInspect(dockerCli command.Cli, appname string, opts inspectOptions) erro
8787

8888
installation.SetParameter(internal.ParameterInspectFormatName, format)
8989

90-
if err := a.Run(&installation.Claim, nil, nil); err != nil {
90+
if err := a.Run(&installation.Claim, nil); err != nil {
9191
return fmt.Errorf("inspect failed: %s\n%s", err, errBuf)
9292
}
9393
return nil

0 commit comments

Comments
 (0)