Merge "Correct wrong parameter passing when create k8s_api in k8s monitor"

This commit is contained in:
Jenkins
2016-01-05 15:56:49 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -35,7 +35,7 @@ class K8sMonitor(MonitorBase):
}
def pull_data(self):
k8s_api = k8s.create_k8s_api(self.context, self.bay)
k8s_api = k8s.create_k8s_api(self.context, self.bay.uuid)
nodes = k8s_api.list_namespaced_node()
self.data['nodes'] = self._parse_node_info(nodes)
pods = k8s_api.list_namespaced_pod('default')