mirror of
https://github.com/containers/podman.git
synced 2025-10-16 10:43:52 +08:00
pkg/autoupdate: "image" policy: add deprecation comment
The "image" policy has been deprecated in favor of the more precise "registry" policy. Add a code comment to leave some breadcrumbs for future generations. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -45,7 +45,7 @@ const (
|
||||
var supportedPolicies = map[string]Policy{
|
||||
"": PolicyDefault,
|
||||
string(PolicyDefault): PolicyDefault,
|
||||
"image": PolicyRegistryImage,
|
||||
"image": PolicyRegistryImage, // Deprecated in favor of PolicyRegistryImage
|
||||
string(PolicyRegistryImage): PolicyRegistryImage,
|
||||
string(PolicyLocalImage): PolicyLocalImage,
|
||||
}
|
||||
|
Reference in New Issue
Block a user