Merge pull request #8041 from yankay/fix-mistack-docs

pkg/cri/config: fix Mirrors deprecation comment
This commit is contained in:
Derek McGowan
2023-02-15 15:25:04 -08:00
committed by GitHub

View File

@@ -206,7 +206,7 @@ type Registry struct {
ConfigPath string `toml:"config_path" json:"configPath"`
// Mirrors are namespace to mirror mapping for all namespaces.
// This option will not be used when ConfigPath is provided.
// DEPRECATED: Use ConfigPath instead. Remove in containerd 1.7.
// DEPRECATED: Use ConfigPath instead. Remove in containerd 2.0.
Mirrors map[string]Mirror `toml:"mirrors" json:"mirrors"`
// Configs are configs for each registry.
// The key is the domain name or IP of the registry.