cli: include namespace in output when querying job stauts. (#6912)

This commit is contained in:
James Rasell 2020-01-08 14:24:03 +01:00 committed by Tim Gross
parent dc8b53780b
commit f2d1e45135
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ func (c *JobStatusCommand) Run(args []string) int {
fmt.Sprintf("Type|%s", *job.Type),
fmt.Sprintf("Priority|%d", *job.Priority),
fmt.Sprintf("Datacenters|%s", strings.Join(job.Datacenters, ",")),
fmt.Sprintf("Namespace|%s", *job.Namespace),
fmt.Sprintf("Status|%s", getStatusString(*job.Status, job.Stop)),
fmt.Sprintf("Periodic|%v", periodic),
fmt.Sprintf("Parameterized|%v", parameterized),