Skip to content

Cut 2.49 rc.1 + cherry pick Azure fix#13314

Merged
bwplotka merged 2 commits intorelease-2.49from
cut-2.49-rc.1
Dec 20, 2023
Merged

Cut 2.49 rc.1 + cherry pick Azure fix#13314
bwplotka merged 2 commits intorelease-2.49from
cut-2.49-rc.1

Conversation

@bwplotka
Copy link
Copy Markdown
Member

Context: #13245 (comment)

djpnicholls and others added 2 commits December 19, 2023 19:20
Calling `*armnetwork.InterfacesClient.Get()` doesn't work for Scale Set
VM NIC, because these use a different Resource ID format.

Use `*armnetwork.InterfacesClient.GetVirtualMachineScaleSetNetworkInterface()`
instead.  This needs both the scale set name and the instance ID, so
add an `InstanceID` field to the `virtualMachine` struct.  `InstanceID`
is empty for a VM that isn't a ScaleSetVM.

Signed-off-by: Daniel Nicholls <daniel.nicholls@resdiary.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants