fix pointer

This commit is contained in:
Alex Dadgar
2017-02-20 16:22:31 -08:00
parent 503746c7c4
commit 7cef0d7a6b

View File

@@ -426,7 +426,7 @@ func (c *AllocStatusCommand) outputTaskResources(alloc *api.Allocation, task str
cpuUsage,
memUsage,
humanize.IBytes(uint64(*resource.DiskMB*bytesPerMegabyte)),
resource.IOPS,
*resource.IOPS,
firstAddr))
for i := 1; i < len(addr); i++ {
resourcesOutput = append(resourcesOutput, fmt.Sprintf("||||%v", addr[i]))