Fix typo in exception name
Replace "ManagerException" with "ManagerError" Change-Id: I2fc8e081dd2f36c20ee6234df2c5c900d974cabc
This commit is contained in:
parent
48c711cc05
commit
478165cb8d
@ -3797,8 +3797,7 @@ class NsxPolicySecurityPolicyBaseApi(NsxPolicyResourceBase):
|
|||||||
if not transaction:
|
if not transaction:
|
||||||
err_msg = ("patch_entries can only be used within "
|
err_msg = ("patch_entries can only be used within "
|
||||||
"H-API transactions")
|
"H-API transactions")
|
||||||
raise exceptions.ManagerException(
|
raise exceptions.ManagerError(details=err_msg)
|
||||||
details=err_msg)
|
|
||||||
patch_entries = []
|
patch_entries = []
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
rule = entry.get_obj_dict()
|
rule = entry.get_obj_dict()
|
||||||
|
Loading…
Reference in New Issue
Block a user