Skip to content

Commit

Permalink
Updates to tests (#82)
Browse files Browse the repository at this point in the history
* Updates to update tests

* Update api version for create
  • Loading branch information
calvinsID authored May 3, 2022
1 parent 2ccbce0 commit 34aabca
Show file tree
Hide file tree
Showing 6 changed files with 14,456 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/containerapp/azext_containerapp/_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

logger = get_logger(__name__)

API_VERSION = "2021-03-01"
PREVIEW_API_VERSION = "2022-01-01-preview"
STABLE_API_VERSION = "2022-03-01"
POLLING_TIMEOUT = 60 # how many seconds before exiting
Expand Down Expand Up @@ -74,7 +73,7 @@ class ContainerAppClient():
@classmethod
def create_or_update(cls, cmd, resource_group_name, name, container_app_envelope, no_wait=False):
management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager
api_version = PREVIEW_API_VERSION
api_version = STABLE_API_VERSION
sub_id = get_subscription_id(cmd.cli_ctx)
url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/containerApps/{}?api-version={}"
request_url = url_fmt.format(
Expand Down
Loading

0 comments on commit 34aabca

Please sign in to comment.