From 0b33a45fad92ac1df4a676d76fcce89d7ee2ae51 Mon Sep 17 00:00:00 2001 From: Kay Yan Date: Wed, 1 Feb 2023 20:42:50 +0800 Subject: [PATCH] cri: fix Mirrors deprecation comment Signed-off-by: Kay Yan --- pkg/cri/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cri/config/config.go b/pkg/cri/config/config.go index ccb925f3e..946baa9bc 100644 --- a/pkg/cri/config/config.go +++ b/pkg/cri/config/config.go @@ -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.