Skip to content
Merged
Prev Previous commit
Next Next commit
Fix pylint check
  • Loading branch information
zhoxing-ms authored Jul 30, 2021
commit 3d5674063f108a64a63a7544575e90dbb3f5f01f
Original file line number Diff line number Diff line change
Expand Up @@ -1706,9 +1706,9 @@ def update_app_service_plan(instance, sku=None, number_of_workers=None):
def show_plan(cmd, resource_group_name, name):
client = web_client_factory(cmd.cli_ctx)
serverfarm_url_base = 'subscriptions/{}/resourceGroups/{}/providers/Microsoft.Web/serverfarms/{}?api-version={}'
subscription_id = client.app_service_plans._config.subscription_id # pylint: disable=protected-access
subscription_id = client.app_service_plans._config.subscription_id # pylint: disable=protected-access
serverfarm_url = serverfarm_url_base.format(subscription_id, resource_group_name, name, client.DEFAULT_API_VERSION)
request_url = client.app_service_plans._client._base_url + serverfarm_url # pylint: disable=protected-access
request_url = client.app_service_plans._client._base_url + serverfarm_url # pylint: disable=protected-access
response = send_raw_request(cmd.cli_ctx, "GET", request_url)
return response.json()

Expand Down