From 314d758fa170cbc88fbbed11d796c75c4c3d0a79 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 9b271509b..41c4a2983 100644 --- a/pkg/cri/config/config.go +++ b/pkg/cri/config/config.go @@ -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"`