Skip to content

Commit

Permalink
Fix client
Browse files Browse the repository at this point in the history
  • Loading branch information
kairu-ms committed Sep 13, 2024
1 parent 4e10d74 commit 8be9ea2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aaz_dev/cli/templates/aaz/profile/_clients.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ class {{ client.cls_name }}(AAZBaseClient):
{%- else %}
endpoint = cls.get_cloud_endpoint(ctx, cls._CLOUD_HOST_METADATA_INDEX)
{%- endif %}
{%- else %}
endpoint = None
{%- endif %}
if not endpoint:
endpoint = cls._CLOUD_HOST_TEMPLATES.get(ctx.cli_ctx.cloud.name, None)
Expand Down

0 comments on commit 8be9ea2

Please sign in to comment.