1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #27903 from kim0/master

zfs: expose mountpoint/dataset on inspection
This commit is contained in:
Tõnis Tiigi 2017-01-12 11:28:07 -08:00 committed by GitHub
commit 27695cd751

View file

@ -220,7 +220,10 @@ func (d *Driver) Status() [][2]string {
// GetMetadata returns image/container metadata related to graph driver
func (d *Driver) GetMetadata(id string) (map[string]string, error) {
return nil, nil
return map[string]string{
"Mountpoint": d.mountPath(id),
"Dataset": d.zfsPath(id),
}, nil
}
func (d *Driver) cloneFilesystem(name, parentName string) error {