mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #8241 from vbatts/vbatts-devmapper_version
devmapper: include the version in `info`
This commit is contained in:
commit
1d8c66347e
1 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,9 @@ func (d *Driver) Status() [][2]string {
|
|||
{"Metadata Space Used", fmt.Sprintf("%s", units.HumanSize(int64(s.Metadata.Used)))},
|
||||
{"Metadata Space Total", fmt.Sprintf("%s", units.HumanSize(int64(s.Metadata.Total)))},
|
||||
}
|
||||
if vStr, err := GetLibraryVersion(); err == nil {
|
||||
status = append(status, [2]string{"Library Version", vStr})
|
||||
}
|
||||
return status
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue