Explorar o código

AMBARI-3312. Ambari-Client Exception in _get_cluster_host. (Andrew Onischuk via mahadev)

Mahadev Konar %!s(int64=12) %!d(string=hai) anos
pai
achega
cebf5df4c8

+ 1 - 1
ambari-client/src/main/python/ambari_client/resources/hosts.py

@@ -76,7 +76,7 @@ def _get_cluster_host(root_resource, cluster_name, host_name):
   @param host_name: Host name
   @return: A HostModel object
   """
-  return host.get_cluster_host(root_resource, cluster_name, host_name)
+  return host._get_cluster_host(root_resource, cluster_name, host_name)