Skip to content

Commit 51dfdfd

Browse files
committed
Fix panic in AddToRegistry when using podman.
1 parent 40ee6b7 commit 51dfdfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/lib/registry/registry.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func (r RegistryUpdater) AddToRegistry(request AddToRegistryRequest) error {
7777
case containertools.NoneTool:
7878
reg, rerr = containerdregistry.NewRegistry(containerdregistry.SkipTLS(request.SkipTLS), containerdregistry.WithRootCAs(rootCAs))
7979
case containertools.PodmanTool:
80+
fallthrough
8081
case containertools.DockerTool:
8182
reg, rerr = execregistry.NewRegistry(request.ContainerTool, r.Logger)
8283
}

0 commit comments

Comments
 (0)