Skip to content

Commit

Permalink
Update local.go
Browse files Browse the repository at this point in the history
  • Loading branch information
clcc2019 authored Jan 13, 2025
1 parent c1ce891 commit d5447d4
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 @@ -391,7 +391,7 @@ func (c *localConfigurator) configureDockerDaemonService(endpoint, daemonFile st

func (c *localConfigurator) configureContainerdDaemonService(endpoint, hostTomlFile string) error {
var (
caFile = c.Domain + ".crt"
// caFile = c.Domain + ".crt"
// registryCaCertPath = filepath.Join(c.containerRuntimeInfo.CertsDir, endpoint, caFile)
url = "http://" + endpoint
)
Expand Down Expand Up @@ -424,7 +424,7 @@ type HostFileConfig struct {
// Accepted types
// - string - Single file with certificate(s)
// - []string - Multiple files with certificates
CACert interface{} `toml:"ca"`
// CACert interface{} `toml:"ca"`
SkipServerVerify bool `toml:"skip_verify"`
}

Expand Down

0 comments on commit d5447d4

Please sign in to comment.