Merge pull request #2746 from crosbymichael/aufs-bump

Bump aufs for unsupported errors
This commit is contained in:
Phil Estes 2018-10-29 10:15:40 -04:00 committed by GitHub
commit 05f8c3a3f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -86,4 +86,4 @@ github.com/mistifyio/go-zfs 166add352731e515512690329794ee593f1aaff2
github.com/pborman/uuid c65b2f87fee37d1c7854c9164a450713c28d50cd
# aufs dependencies
github.com/containerd/aufs ffa39970e26ad01d81f540b21e65f9c1841a5f92
github.com/containerd/aufs da3cf16bfbe68ba8f114f1536a05c01528a25434

View File

@ -50,7 +50,7 @@ type snapshotter struct {
// New creates a new snapshotter using aufs
func New(root string) (snapshots.Snapshotter, error) {
if err := supported(); err != nil {
return nil, err
return nil, errors.Wrap(plugin.ErrSkipPlugin, err.Error())
}
if err := os.MkdirAll(root, 0700); err != nil {
return nil, err