devmapper: include the version in info
Signed-off-by: Vincent Batts <vbatts@redhat.com>
This commit is contained in:
parent
1379c6ec50
commit
5630d466b2
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…
Reference in a new issue