diff --git a/snapshots/devmapper/plugin/plugin.go b/snapshots/devmapper/plugin/plugin.go index dec4b37f8..ae2aa7676 100644 --- a/snapshots/devmapper/plugin/plugin.go +++ b/snapshots/devmapper/plugin/plugin.go @@ -20,6 +20,7 @@ package plugin import ( "errors" + "fmt" "github.com/containerd/containerd/platforms" "github.com/containerd/containerd/plugin" @@ -40,7 +41,7 @@ func init() { } if config.PoolName == "" { - return nil, errors.New("devmapper not configured") + return nil, fmt.Errorf("devmapper not configured: %w", plugin.ErrSkipPlugin) } if config.RootPath == "" {