mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fixed newly introduced pylint errors
This commit is contained in:
parent
7b0f6df8d8
commit
9314e4ab62
@ -1147,7 +1147,7 @@ def get_hosts(service_instance, datacenter_name=None, host_names=None,
|
||||
# ignored
|
||||
cluster_condition = \
|
||||
(not datacenter_name or not cluster_name or
|
||||
(isinstance(h['parent'], vim.ClusterComputeResource) and
|
||||
(isinstance(h['parent'], vim.ClusterComputeResource) and
|
||||
h['parent'].name == cluster_name))
|
||||
|
||||
if name_condition and cluster_condition:
|
||||
|
Loading…
Reference in New Issue
Block a user