Skip to content

Commit

Permalink
Merge pull request #2404 from hashicorp/b-disk
Browse files Browse the repository at this point in the history
Display Disk resources on CLI
  • Loading branch information
dadgar committed Mar 6, 2017
2 parents e2ee3f4 + d3ee039 commit 00b4e10
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 00b4e10

Please sign in to comment.