From c74c84f2c504a392a5de122aaf29a3934945bcb6 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Mon, 15 Jun 2020 14:35:47 +0200 Subject: [PATCH] cli: fix malformed alloc status address list when more than 1 addr --- command/alloc_status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/alloc_status.go b/command/alloc_status.go index cd1f918ab1b..52e0faa41b1 100644 --- a/command/alloc_status.go +++ b/command/alloc_status.go @@ -580,7 +580,7 @@ func (c *AllocStatusCommand) outputTaskResources(alloc *api.Allocation, task str humanize.IBytes(uint64(*alloc.Resources.DiskMB*bytesPerMegabyte)), firstAddr)) for i := 1; i < len(addr); i++ { - resourcesOutput = append(resourcesOutput, fmt.Sprintf("||||%v", addr[i])) + resourcesOutput = append(resourcesOutput, fmt.Sprintf("|||%v", addr[i])) } c.Ui.Output(formatListWithSpaces(resourcesOutput))