Operator field invalid if Scope_operator field is present
operator field in Conditions for group expressions is invalid if scope_operator field is set to NOTEQUALS, removing it for the same Change-Id: I42a4c2586f30952fd4a6cce5235e6c2404c0c6e4
This commit is contained in:
parent
bd5cec082e
commit
778dd72e86
@ -1630,6 +1630,8 @@ class Condition(object):
|
||||
if self.scope_operator is not None:
|
||||
if (version.LooseVersion(self.nsx_version) >=
|
||||
version.LooseVersion(nsx_constants.NSX_VERSION_3_2_0)):
|
||||
if self.scope_operator == 'NOTEQUALS':
|
||||
del body['operator']
|
||||
body['scope_operator'] = self.scope_operator
|
||||
else:
|
||||
LOG.warning(
|
||||
|
Loading…
x
Reference in New Issue
Block a user