Fix typo in exception name
Replace "ManagerException" with "ManagerError"
Change-Id: I2fc8e081dd2f36c20ee6234df2c5c900d974cabc
(cherry picked from commit 31da96584f
)
This commit is contained in:
parent
d4b9c604a2
commit
ffc81fe736
|
@ -3722,8 +3722,7 @@ class NsxPolicySecurityPolicyBaseApi(NsxPolicyResourceBase):
|
|||
if not transaction:
|
||||
err_msg = ("patch_entries can only be used within "
|
||||
"H-API transactions")
|
||||
raise exceptions.ManagerException(
|
||||
details=err_msg)
|
||||
raise exceptions.ManagerError(details=err_msg)
|
||||
patch_entries = []
|
||||
for entry in entries:
|
||||
rule = entry.get_obj_dict()
|
||||
|
|
Loading…
Reference in New Issue