Merge pull request #2253 from stevvooe/report-zfs-correctly
vendor: update zfs dependency
This commit is contained in:
3
vendor/github.com/containerd/zfs/zfs.go
generated
vendored
3
vendor/github.com/containerd/zfs/zfs.go
generated
vendored
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
"github.com/containerd/containerd/log"
|
||||
"github.com/containerd/containerd/mount"
|
||||
"github.com/containerd/containerd/platforms"
|
||||
"github.com/containerd/containerd/plugin"
|
||||
"github.com/containerd/containerd/snapshots"
|
||||
"github.com/containerd/containerd/snapshots/storage"
|
||||
@@ -27,6 +28,8 @@ func init() {
|
||||
Type: plugin.SnapshotPlugin,
|
||||
ID: "zfs",
|
||||
InitFn: func(ic *plugin.InitContext) (interface{}, error) {
|
||||
ic.Meta.Platforms = append(ic.Meta.Platforms, platforms.DefaultSpec())
|
||||
ic.Meta.Exports["root"] = ic.Root
|
||||
return NewSnapshotter(ic.Root)
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user