Fix typo in exception name

Replace "ManagerException" with "ManagerError"

Change-Id: I2fc8e081dd2f36c20ee6234df2c5c900d974cabc
This commit is contained in:
Salvatore Orlando 2021-12-01 02:46:19 -08:00 committed by Salvatore Orlando
parent 22dd0f3c33
commit c3b4c7ba38
1 changed files with 1 additions and 2 deletions

View File

@ -4049,8 +4049,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()