Skip to content

Commit

Permalink
Update local.go
Browse files Browse the repository at this point in the history
  • Loading branch information
clcc2019 authored Apr 22, 2024
1 parent 3c791d1 commit e78975f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/registry/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,7 @@ func (c *localConfigurator) configureContainerdDaemonService(endpoint, hostTomlF
cfg := Hosts{
Server: url,
HostConfigs: map[string]HostFileConfig{
url: {CACert: registryCaCertPath},
SkipServerVerify: true,
url: {CACert: registryCaCertPath, SkipServerVerify: true},
},
}

Expand All @@ -426,6 +425,7 @@ type HostFileConfig struct {
// - string - Single file with certificate(s)
// - []string - Multiple files with certificates
CACert interface{} `toml:"ca"`
SkipServerVerify bool `toml:"skip_verify"`
}

type DaemonConfig struct {
Expand Down

0 comments on commit e78975f

Please sign in to comment.