Skip to content

Commit

Permalink
Fix RegistryAuthenticator filesystem (#65)
Browse files Browse the repository at this point in the history
RegistryAuthenticator was initializated with a mock of filesystem instead of OS filesystem.

This prevented to use containerd support.
  • Loading branch information
javilaadevinta authored Dec 15, 2023
1 parent 4e6c7e8 commit 7fbdc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var DefaultRegistry = NewPlainRegistry()
func NewPlainRegistry(builders ...func(*PlainRegistry)) PlainRegistry {
r := PlainRegistry{
Scheme: "https",
Authenticator: RegistryAuthenticator{fs: afero.NewMemMapFs()},
Authenticator: RegistryAuthenticator{fs: afero.NewOsFs()},
Proxies: []RegistryProxy{},
}
for _, builder := range builders {
Expand Down

0 comments on commit 7fbdc30

Please sign in to comment.