update auths code comment
Signed-off-by: rongfu.leng <rongfu.leng@daocloud.io>
This commit is contained in:
parent
4b7145cfd3
commit
314d758fa1
@ -203,7 +203,7 @@ type Registry struct {
|
||||
Configs map[string]RegistryConfig `toml:"configs" json:"configs"`
|
||||
// Auths are registry endpoint to auth config mapping. The registry endpoint must
|
||||
// be a valid url with host specified.
|
||||
// DEPRECATED: Use ConfigPath instead. Remove in containerd 1.6.
|
||||
// DEPRECATED: Use ConfigPath instead. Remove in containerd 2.0, supported in 1.x releases.
|
||||
Auths map[string]AuthConfig `toml:"auths" json:"auths"`
|
||||
// Headers adds additional HTTP headers that get sent to all registries
|
||||
Headers map[string][]string `toml:"headers" json:"headers"`
|
||||
|
Loading…
Reference in New Issue
Block a user