File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/azure-cli/azure/cli/command_modules/containerapp Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -412,12 +412,8 @@ def parse_secret_flags(secret_list):
412412
413413
414414def get_linker_client (cmd ):
415- resource = cmd .cli_ctx .cloud .endpoints .active_directory_resource_id
416- profile = Profile (cli_ctx = cmd .cli_ctx )
417- credential , subscription_id , _ = profile .get_login_credentials (
418- subscription_id = get_subscription_id (cmd .cli_ctx ), resource = resource )
419- linker_client = ServiceLinkerManagementClient (credential )
420- return linker_client
415+ from azure .cli .core .commands .client_factory import get_mgmt_service_client
416+ return get_mgmt_service_client (cmd .cli_ctx , ServiceLinkerManagementClient )
421417
422418
423419def validate_binding_name (binding_name ):
You can’t perform that action at this time.
0 commit comments