From 920e899f5262b01324c3d0c054459f22687d4a7a Mon Sep 17 00:00:00 2001 From: Djordje Lukic Date: Mon, 1 Aug 2022 10:36:51 +0200 Subject: [PATCH] Check Signed-off-by: Djordje Lukic --- daemon/daemon.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/daemon/daemon.go b/daemon/daemon.go index 30943404147c5..cea1ae8231f1a 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -148,12 +148,7 @@ func (daemon *Daemon) Features() *map[string]bool { // UsesSnapshotter returns true if feature flag to use containerd snapshotter is enabled func (daemon *Daemon) UsesSnapshotter() bool { - if daemon.configStore.Features != nil { - if b, ok := daemon.configStore.Features["containerd-snapshotter"]; ok { - return b - } - } - return false + return true } // RegistryHosts returns registry configuration in containerd resolvers format