From 478165cb8dd2c06b34f182152e64067d4da283d3 Mon Sep 17 00:00:00 2001 From: Salvatore Orlando Date: Wed, 1 Dec 2021 02:46:19 -0800 Subject: [PATCH] Fix typo in exception name Replace "ManagerException" with "ManagerError" Change-Id: I2fc8e081dd2f36c20ee6234df2c5c900d974cabc --- vmware_nsxlib/v3/policy/core_resources.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vmware_nsxlib/v3/policy/core_resources.py b/vmware_nsxlib/v3/policy/core_resources.py index 3771bec7..4c71e49e 100644 --- a/vmware_nsxlib/v3/policy/core_resources.py +++ b/vmware_nsxlib/v3/policy/core_resources.py @@ -3797,8 +3797,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()