Skip to content

Commit

Permalink
Merge pull request #284 from benluddy/fix-podman-panic
Browse files Browse the repository at this point in the history
Fix panic in AddToRegistry when using podman.
  • Loading branch information
ecordell committed Apr 17, 2020
2 parents 40ee6b7 + 51dfdfd commit 8a8da5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/lib/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func (r RegistryUpdater) AddToRegistry(request AddToRegistryRequest) error {
case containertools.NoneTool:
reg, rerr = containerdregistry.NewRegistry(containerdregistry.SkipTLS(request.SkipTLS), containerdregistry.WithRootCAs(rootCAs))
case containertools.PodmanTool:
fallthrough
case containertools.DockerTool:
reg, rerr = execregistry.NewRegistry(request.ContainerTool, r.Logger)
}
Expand Down

0 comments on commit 8a8da5b

Please sign in to comment.