Skip to content

Commit

Permalink
Fix OD instance on Azure (skypilot-org#4411)
Browse files Browse the repository at this point in the history
  • Loading branch information
cblmemo authored and zpoint committed Nov 27, 2024
1 parent e6440af commit 0579c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/provision/azure/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def _create_vm(
identity=compute.VirtualMachineIdentity(
type='UserAssigned',
user_assigned_identities={provider_config['msi']: {}}),
priority=node_config['azure_arm_parameters']['priority'])
priority=node_config['azure_arm_parameters'].get('priority', None))
vm_poller = compute_client.virtual_machines.begin_create_or_update(
resource_group_name=provider_config['resource_group'],
vm_name=vm_name,
Expand Down

0 comments on commit 0579c05

Please sign in to comment.