show Device Stats header in alloc status
This commit is contained in:
parent
00ffd02ced
commit
6f9126f475
|
@ -525,6 +525,7 @@ func (c *AllocStatusCommand) outputTaskResources(alloc *api.Allocation, task str
|
||||||
|
|
||||||
if len(deviceStats) > 0 {
|
if len(deviceStats) > 0 {
|
||||||
c.Ui.Output("")
|
c.Ui.Output("")
|
||||||
|
c.Ui.Output("Device Stats")
|
||||||
c.Ui.Output(formatList(getDeviceResources(deviceStats)))
|
c.Ui.Output(formatList(getDeviceResources(deviceStats)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue