Skip to content

Commit

Permalink
{Core} add . in operation handler (#12702)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliehzl authored Mar 29, 2020
1 parent f0ac9c5 commit daceea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/azure-cli-core/azure/cli/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def get_op_handler(self, operation, operation_group=None):
from azure.cli.core.profiles._shared import get_versioned_sdk_path

for rt in AZURE_API_PROFILES[self.cli_ctx.cloud.profile]:
if operation.startswith(rt.import_prefix):
if operation.startswith(rt.import_prefix + '.'):
operation = operation.replace(rt.import_prefix,
get_versioned_sdk_path(self.cli_ctx.cloud.profile, rt,
operation_group=operation_group))
Expand Down

0 comments on commit daceea2

Please sign in to comment.