Merge "Fix cluster_collect interface"

This commit is contained in:
Jenkins 2017-01-23 09:08:34 +00:00 committed by Gerrit Code Review
commit c34e6c38e8

View File

@ -288,13 +288,13 @@ class Client(object):
"""
return self.service.cluster_update_policy(cluster, policy, **attrs)
def cluster_collect(self, cluster, path):
"""Resize cluster
def collect_cluster_attrs(self, cluster, path):
"""Collect cluster attributes
Doc link:
http://developer.openstack.org/api-ref-clustering-v1.html#clusterAction
"""
return self.service.cluster_collect(cluster, path)
return self.service.collect_cluster_attrs(cluster, path)
def check_cluster(self, cluster, **params):
"""Check cluster's health status