Sitelet https://github.com/kubernetes/kops/commit/e0c81a0008d235c1cda7d12e7c57bb29e4f9f7b5
Skip to content

Commit e0c81a0

Browse files
authored
Merge pull request #18321 from hakman/automated-cherry-pick-of-#18319-upstream-release-1.35
Automated cherry pick of #18319: azure: list VMSS NICs in protokube gossip seed discovery
2 parents ccae9a6 + dc499fb commit e0c81a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎protokube/pkg/gossip/azure/client.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (c *Client) ListVMScaleSets(ctx context.Context) ([]*compute.VirtualMachine
146146
// ListVMSSNetworkInterfaces returns the interfaces that the specified VM ScaleSet has.
147147
func (c *Client) ListVMSSNetworkInterfaces(ctx context.Context, vmScaleSetName string) ([]*network.Interface, error) {
148148
var l []*network.Interface
149-
pager := c.interfacesClient.NewListPager(c.resourceGroupName(), nil)
149+
pager := c.interfacesClient.NewListVirtualMachineScaleSetNetworkInterfacesPager(c.resourceGroupName(), vmScaleSetName, nil)
150150
for pager.More() {
151151
resp, err := pager.NextPage(ctx)
152152
if err != nil {

0 commit comments

Comments
 (0)