diff --git a/vmware_nsxlib/v3/policy/core_resources.py b/vmware_nsxlib/v3/policy/core_resources.py index c954c2b7..33f9e963 100644 --- a/vmware_nsxlib/v3/policy/core_resources.py +++ b/vmware_nsxlib/v3/policy/core_resources.py @@ -135,7 +135,8 @@ class NsxPolicyResourceBase(object, metaclass=abc.ABCMeta): """Helper for update function - ignore attrs without explicit value""" args = self._get_user_args(**kwargs) resource_def = self.entry_def(nsx_version=self.version, **args) - body = self.policy_api.get(resource_def) + tenant = args.get('tenant', constants.POLICY_INFRA_TENANT) + body = self.policy_api.get(resource_def, tenant) if body: resource_def.set_obj_dict(body)