mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
add license info to operator debug command
This commit is contained in:
@@ -549,6 +549,9 @@ func (c *OperatorDebugCommand) collectOperator(dir string, client *api.Client) {
|
||||
|
||||
ah, _, err := client.Operator().AutopilotServerHealth(nil)
|
||||
c.writeJSON(dir, "operator-autopilot-health.json", ah, err)
|
||||
|
||||
lic, _, err := client.Operator().LicenseGet(nil)
|
||||
c.writeJSON(dir, "license.json", lic, err)
|
||||
}
|
||||
|
||||
// collectNomad captures the nomad cluster state
|
||||
|
||||
Reference in New Issue
Block a user