Skip to content

Commit 1437f81

Browse files
committed
Update Azure compute to 2021-11-01
1 parent d8cb917 commit 1437f81

File tree

77 files changed

+4419
-544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+4419
-544
lines changed

pkg/cloud/azure/actuators/machine/actuator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"strings"
2626
"testing"
2727

28-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
28+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2929
"github.com/Azure/go-autorest/autorest"
3030
"github.com/Azure/go-autorest/autorest/to"
3131
"github.com/ghodss/yaml"

pkg/cloud/azure/actuators/machine/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"strings"
2626
"time"
2727

28-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
28+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2929
"github.com/Azure/go-autorest/autorest"
3030
"github.com/Azure/go-autorest/autorest/to"
3131
machinev1 "github.com/openshift/api/machine/v1beta1"

pkg/cloud/azure/actuators/machine/reconciler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
9+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
1010
"github.com/Azure/go-autorest/autorest"
1111
"github.com/golang/mock/gomock"
1212
. "github.com/onsi/gomega"

pkg/cloud/azure/actuators/machineset/controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"errors"
2020
"fmt"
2121

22-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
22+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2323
"github.com/Azure/go-autorest/autorest/to"
2424
. "github.com/onsi/ginkgo/v2"
2525
. "github.com/onsi/gomega"

pkg/cloud/azure/services/availabilitysets/availabilitysets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"errors"
66
"fmt"
77

8-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
8+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
99
"github.com/Azure/go-autorest/autorest/to"
1010
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure"
1111
)

pkg/cloud/azure/services/availabilitysets/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package availabilitysets
22

33
import (
4-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
4+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
55
"github.com/Azure/go-autorest/autorest"
66
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure"
77
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure/actuators"

pkg/cloud/azure/services/availabilityzones/availabilityzones.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (s *Service) Get(ctx context.Context, spec azure.Spec) (interface{}, error)
3939
}
4040

4141
filter := fmt.Sprintf("location eq '%s'", s.Scope.Location())
42-
res, err := s.Client.List(ctx, filter)
42+
res, err := s.Client.List(ctx, filter, "true")
4343
if err != nil {
4444
return zones, err
4545
}

pkg/cloud/azure/services/availabilityzones/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package availabilityzones
1818

1919
import (
20-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
20+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2121
"github.com/Azure/go-autorest/autorest"
2222
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure"
2323
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure/actuators"

pkg/cloud/azure/services/disks/disks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"errors"
2222
"fmt"
2323

24-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
24+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2525
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure"
2626
"k8s.io/klog/v2"
2727
)

pkg/cloud/azure/services/disks/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package disks
1818

1919
import (
20-
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-03-01/compute"
20+
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute"
2121
"github.com/Azure/go-autorest/autorest"
2222
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure"
2323
"github.com/openshift/machine-api-provider-azure/pkg/cloud/azure/actuators"

0 commit comments

Comments
 (0)