mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
Merge pull request #4178 from hashicorp/f-sort-drivers
cli: sort drivers in `node status <node_id>`
This commit is contained in:
@@ -409,6 +409,7 @@ func (c *NodeStatusCommand) outputTruncatedNodeDriverInfo(node *api.Node) string
|
||||
drivers = append(drivers, driverName)
|
||||
}
|
||||
}
|
||||
sort.Strings(drivers)
|
||||
return strings.Trim(strings.Join(drivers, ","), ", ")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user