Merge pull request #45368 from thaJeztah/remove_overlay2.override_kernel_check

overlay2: remove deprecated overlay2.override_kernel_check option
This commit is contained in:
Sebastiaan van Stijn 2023-04-25 12:12:15 +02:00 committed by GitHub
commit ed7b2a64f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,9 +234,6 @@ func parseOptions(options []string) (*overlayOptions, error) {
}
key = strings.ToLower(key)
switch key {
case "overlay2.override_kernel_check":
// TODO(thaJeztah): change this to an error, see https://github.com/docker/cli/pull/3806
logger.Warn("DEPRECATED: the overlay2.override_kernel_check option is ignored and will be removed in the next release. You can safely remove this option from your configuration.")
case "overlay2.size":
size, err := units.RAMInBytes(val)
if err != nil {