mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 11:25:41 +03:00
fix pointer
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user