Skip to content

Commit da3f0c6

Browse files
authored
[ACR] az acr task create: Fix error message when --context is not provided (#31897)
1 parent 10efe2d commit da3f0c6

File tree

1 file changed

+1
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/acr

1 file changed

+1
-1
lines changed

src/azure-cli/azure/cli/command_modules/acr/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def acr_task_create(cmd, # pylint: disable=too-many-locals
114114
raise CLIError(e)
115115

116116
if not context_path:
117-
raise CLIError("If the task is not a System Task, --context-path must be provided.")
117+
raise CLIError("If the task is not a System Task, --context must be provided.")
118118

119119
if context_path.lower() == ACR_NULL_CONTEXT:
120120
context_path = None

0 commit comments

Comments
 (0)