show Device Stats header in alloc status

This commit is contained in:
Mahmood Ali 2018-11-16 17:30:48 -05:00
parent 00ffd02ced
commit 6f9126f475
1 changed files with 1 additions and 0 deletions

View File

@ -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)))
} }