From 65cf37bcb49de11c2fd20fd21f76809739cb788d Mon Sep 17 00:00:00 2001 From: "rongfu.leng" Date: Tue, 30 May 2023 23:05:48 +0800 Subject: [PATCH] update auths code comment Signed-off-by: rongfu.leng --- 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 22d9204fc4bb..f31fbb3e0d75 100644 --- a/pkg/cri/config/config.go +++ b/pkg/cri/config/config.go @@ -183,7 +183,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"`