Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
tenant level user cannot access provider API
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilkp93 committed Nov 4, 2024
1 parent 2d24139 commit 015398d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions catalystwan/api/mtt_aaa_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_aaa(self) -> TenantAAA:
:param aaa:
:return:
"""
logger.debug(f"AAA config .")
logger.debug("AAA config .")
tenant_aaa = self.session.get_data(self.url_path)
# return tenant_aaa
return create_dataclass(TenantAAA, tenant_aaa)
Expand All @@ -75,8 +75,8 @@ def del_aaa(self):
:return:
"""
if not self.aaa_exists():
raise AAAConfigNotPresent(f"No AAA config present for Tenant")
logger.debug(f"Delete AAA config on tenant.")
raise AAAConfigNotPresent("No AAA config present for Tenant")
logger.debug("Delete AAA config on tenant.")
return self.session.delete(self.url_path)

@status_ok
Expand Down

0 comments on commit 015398d

Please sign in to comment.