Skip to content

Commit

Permalink
{Compute} Fix typo in error message when attaching unmanaged disk (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoruifeng authored Feb 4, 2020
1 parent 5d9177a commit 2d58a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/command_modules/vm/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ def attach_unmanaged_data_disk(cmd, resource_group_name, vm_name, new=False, vhd
DataDisk, DiskCreateOptionTypes, VirtualHardDisk = cmd.get_models(
'DataDisk', 'DiskCreateOptionTypes', 'VirtualHardDisk')
if not new and not disk_name:
raise CLIError('Pleae provide the name of the existing disk to attach')
raise CLIError('Please provide the name of the existing disk to attach')
create_option = DiskCreateOptionTypes.empty if new else DiskCreateOptionTypes.attach

vm = get_vm(cmd, resource_group_name, vm_name)
Expand Down

0 comments on commit 2d58a35

Please sign in to comment.