fix: support old api version for Azure Stack Hub #5996
Annotations
10 errors and 1 warning
Build:
pkg/azuredisk/azure_managedDiskController.go#L271
cannot use model (variable of type "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".Disk) as "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".Disk value in argument to diskClient.CreateOrUpdate
|
Build:
pkg/azuredisk/azure_managedDiskController.go#L400
invalid operation: *result.Properties.DiskState != armcompute.DiskStateUnattached (mismatched types "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".DiskState and "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".DiskState)
|
Build:
pkg/azuredisk/azure_managedDiskController.go#L410
cannot use diskParameter (variable of type "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".DiskUpdate) as "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".DiskUpdate value in argument to diskClient.Patch
|
Build:
pkg/azuredisk/azure_managedDiskController.go#L443
invalid operation: options.StorageAccountType != diskSku (mismatched types "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".DiskStorageAccountTypes and "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".DiskStorageAccountTypes)
|
Build:
pkg/azuredisk/azure_managedDiskController.go#L444
cannot use options.StorageAccountType (variable of type "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".DiskStorageAccountTypes) as "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".DiskStorageAccountTypes value in assignment
|
Build:
pkg/azuredisk/azure_managedDiskController.go#L446
cannot use to.Ptr(diskSku) (value of type *"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".DiskStorageAccountTypes) as *"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".DiskStorageAccountTypes value in struct literal
|
Build:
pkg/azuredisk/azure_managedDiskController.go#L452
invalid operation: diskSku == armcompute.DiskStorageAccountTypesUltraSSDLRS (mismatched types "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".DiskStorageAccountTypes and "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".DiskStorageAccountTypes)
|
Build:
pkg/azuredisk/azure_managedDiskController.go#L452
invalid operation: diskSku == armcompute.DiskStorageAccountTypesPremiumV2LRS (mismatched types "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".DiskStorageAccountTypes and "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".DiskStorageAccountTypes)
|
Build:
pkg/azuredisk/azure_managedDiskController.go#L482
cannot use model (variable of type "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".DiskUpdate) as "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".DiskUpdate value in argument to diskClient.Patch
|
Build:
pkg/azuredisk/azuredisk.go#L405
cannot use disk (variable of type *"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6".Disk) as *"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5".Disk value in return statement
|
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/azuredisk-csi-driver/azuredisk-csi-driver. Supported file pattern: go.sum
|