Merge "Address nits in server group policy series"

This commit is contained in:
Zuul 2018-07-17 06:23:25 +00:00 committed by Gerrit Code Review
commit dcaea457ff

View File

@ -448,7 +448,7 @@ class InstanceGroup(API_BASE):
@property
def policy(self):
if len(self._policies) not in (0, 1):
if len(self._policies) > 1:
msg = ("More than one policy (%(policies)s) is associated with "
"group %(group_name)s, only the first one in the list "
"would be returned.")