Merge pull request #89250 from andyzhangx/disk-version
feat: change azure disk api-version
This commit is contained in:
		@@ -39,7 +39,7 @@ import (
 | 
				
			|||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const (
 | 
					const (
 | 
				
			||||||
	defaultStorageAccountType       = compute.StandardLRS
 | 
						defaultStorageAccountType       = compute.StandardSSDLRS
 | 
				
			||||||
	defaultAzureDiskKind            = v1.AzureManagedDisk
 | 
						defaultAzureDiskKind            = v1.AzureManagedDisk
 | 
				
			||||||
	defaultAzureDataDiskCachingMode = v1.AzureDataDiskCachingReadOnly
 | 
						defaultAzureDataDiskCachingMode = v1.AzureDataDiskCachingReadOnly
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -146,7 +146,7 @@ func TestNormalizeStorageAccountType(t *testing.T) {
 | 
				
			|||||||
	}{
 | 
						}{
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			storageAccountType:  "",
 | 
								storageAccountType:  "",
 | 
				
			||||||
			expectedAccountType: compute.StandardLRS,
 | 
								expectedAccountType: compute.StandardSSDLRS,
 | 
				
			||||||
			expectError:         false,
 | 
								expectError:         false,
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,7 +27,7 @@ import (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
const (
 | 
					const (
 | 
				
			||||||
	// APIVersion is the API version for compute.
 | 
						// APIVersion is the API version for compute.
 | 
				
			||||||
	APIVersion = "2019-07-01"
 | 
						APIVersion = "2019-11-01"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Interface is the client interface for Disks.
 | 
					// Interface is the client interface for Disks.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user