fqdn fix
This commit is contained in:
@@ -156,7 +156,7 @@ class PrometheusBase(base.DataSourceBase):
|
|||||||
host: fqdn for (host, fqdn) in (
|
host: fqdn for (host, fqdn) in (
|
||||||
(fqdn.split('.')[0], fqdn)
|
(fqdn.split('.')[0], fqdn)
|
||||||
for fqdn in self.prometheus_fqdn_labels
|
for fqdn in self.prometheus_fqdn_labels
|
||||||
if '.' in fqdn
|
# if '.' in fqdn
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if not host_instance_map:
|
if not host_instance_map:
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ class HostMaintenance(base.HostMaintenanceBaseStrategy):
|
|||||||
"description": "Describe reason for moving host"
|
"description": "Describe reason for moving host"
|
||||||
"into maintenance mode.",
|
"into maintenance mode.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": False,
|
"default": 'watcher_maintaining',
|
||||||
},
|
},
|
||||||
"disable_live_migration": {
|
"disable_live_migration": {
|
||||||
"description": "Disable live migration in maintenance. "
|
"description": "Disable live migration in maintenance. "
|
||||||
|
|||||||
Reference in New Issue
Block a user