File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ func init() {
51
51
}
52
52
53
53
if ! cimfs .IsCimFSSupported () {
54
- return nil , fmt .Errorf ("host windows version doesn't support CimFS" )
54
+ return nil , fmt .Errorf ("host windows version doesn't support CimFS: %w" , plugin . ErrSkipPlugin )
55
55
}
56
56
ic .Meta .Platforms = append (ic .Meta .Platforms , platforms .DefaultSpec ())
57
57
return NewCimDiff (md .(* metadata.DB ).ContentStore ())
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ func init() {
70
70
// NewCimFSSnapshotter returns a new CimFS based windows snapshotter
71
71
func NewCimFSSnapshotter (root string ) (snapshots.Snapshotter , error ) {
72
72
if ! cimfs .IsCimFSSupported () {
73
- return nil , fmt .Errorf ("host windows version doesn't support CimFS" )
73
+ return nil , fmt .Errorf ("host windows version doesn't support CimFS: %w" , plugin . ErrSkipPlugin )
74
74
}
75
75
76
76
baseSn , err := newBaseSnapshotter (root )
You can’t perform that action at this time.
0 commit comments