overlay2: remove deprecated overlay2.override_kernel_check option

This option was deprecated in e35700eb50
(and backported to v23.0 through 43ce8f7d24).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-04-20 23:57:45 +02:00
parent 81359cecdf
commit 9791756284
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

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 {