mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +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{
|
var supportedPolicies = map[string]Policy{
|
||||||
"": PolicyDefault,
|
"": PolicyDefault,
|
||||||
string(PolicyDefault): PolicyDefault,
|
string(PolicyDefault): PolicyDefault,
|
||||||
"image": PolicyRegistryImage,
|
"image": PolicyRegistryImage, // Deprecated in favor of PolicyRegistryImage
|
||||||
string(PolicyRegistryImage): PolicyRegistryImage,
|
string(PolicyRegistryImage): PolicyRegistryImage,
|
||||||
string(PolicyLocalImage): PolicyLocalImage,
|
string(PolicyLocalImage): PolicyLocalImage,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user