Merge "Address nits in server group policy series"
This commit is contained in:
commit
dcaea457ff
@ -448,7 +448,7 @@ class InstanceGroup(API_BASE):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def policy(self):
|
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 "
|
msg = ("More than one policy (%(policies)s) is associated with "
|
||||||
"group %(group_name)s, only the first one in the list "
|
"group %(group_name)s, only the first one in the list "
|
||||||
"would be returned.")
|
"would be returned.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user