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:
commit
27695cd751
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue