Skip to content

Commit

Permalink
Display Disk resources on CLI
Browse files Browse the repository at this point in the history
Fixes #2401
  • Loading branch information
dadgar committed Mar 6, 2017
1 parent e2ee3f4 commit d3ee039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/alloc_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func (c *AllocStatusCommand) outputTaskResources(alloc *api.Allocation, task str
resourcesOutput = append(resourcesOutput, fmt.Sprintf("%v MHz|%v|%v|%v|%v",
cpuUsage,
memUsage,
humanize.IBytes(uint64(*resource.DiskMB*bytesPerMegabyte)),
humanize.IBytes(uint64(*alloc.Resources.DiskMB*bytesPerMegabyte)),
*resource.IOPS,
firstAddr))
for i := 1; i < len(addr); i++ {
Expand Down

0 comments on commit d3ee039

Please sign in to comment.