diff --git a/diff/windows/cimfs.go b/diff/windows/cimfs.go index fb1441d25..3d2831a21 100644 --- a/diff/windows/cimfs.go +++ b/diff/windows/cimfs.go @@ -51,7 +51,7 @@ func init() { } if !cimfs.IsCimFSSupported() { - return nil, fmt.Errorf("host windows version doesn't support CimFS") + return nil, fmt.Errorf("host windows version doesn't support CimFS: %w", plugin.ErrSkipPlugin) } ic.Meta.Platforms = append(ic.Meta.Platforms, platforms.DefaultSpec()) return NewCimDiff(md.(*metadata.DB).ContentStore()) diff --git a/snapshots/windows/cimfs.go b/snapshots/windows/cimfs.go index 27adfe681..a27a72c6a 100644 --- a/snapshots/windows/cimfs.go +++ b/snapshots/windows/cimfs.go @@ -70,7 +70,7 @@ func init() { // NewCimFSSnapshotter returns a new CimFS based windows snapshotter func NewCimFSSnapshotter(root string) (snapshots.Snapshotter, error) { if !cimfs.IsCimFSSupported() { - return nil, fmt.Errorf("host windows version doesn't support CimFS") + return nil, fmt.Errorf("host windows version doesn't support CimFS: %w", plugin.ErrSkipPlugin) } baseSn, err := newBaseSnapshotter(root)