Merge "Fix clustering detach policy describe error"

This commit is contained in:
Zuul 2018-01-24 09:58:41 +00:00 committed by Gerrit Code Review
commit b7bc0fb147

View File

@ -488,7 +488,7 @@ class Proxy(proxy2.BaseProxy):
@utils.deprecated(deprecated_in="0.9.14", removed_in="1.0", @utils.deprecated(deprecated_in="0.9.14", removed_in="1.0",
details="Use detach_policy_from_cluster instead") details="Use detach_policy_from_cluster instead")
def cluster_detach_policy(self, cluster, policy): def cluster_detach_policy(self, cluster, policy):
"""Attach a policy to a cluster. """Detach a policy from a cluster.
:param cluster: Either the name or the ID of the cluster, or an :param cluster: Either the name or the ID of the cluster, or an
instance of :class:`~openstack.clustering.v1.cluster.Cluster`. instance of :class:`~openstack.clustering.v1.cluster.Cluster`.