Skip to content

Commit

Permalink
fix: PerformancePlus setting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Jun 28, 2023
1 parent a596097 commit d9a59ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/provider/azure_controller_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,8 @@ func vmUpdateRequired(future *azure.Future, err error) bool {
func getValidCreationData(subscriptionID, resourceGroup string, options *ManagedDiskOptions) (compute.CreationData, error) {
if options.SourceResourceID == "" {
return compute.CreationData{
CreateOption: compute.Empty,
CreateOption: compute.Empty,
PerformancePlus: options.PerformancePlus,
}, nil
}

Expand All @@ -744,7 +745,8 @@ func getValidCreationData(subscriptionID, resourceGroup string, options *Managed
}
default:
return compute.CreationData{
CreateOption: compute.Empty,
CreateOption: compute.Empty,

Check failure on line 748 in pkg/provider/azure_controller_common.go

View workflow job for this annotation

GitHub Actions / Lint

File is not `gofmt`-ed with `-s` (gofmt)
PerformancePlus: options.PerformancePlus,
}, nil
}

Expand Down

0 comments on commit d9a59ab

Please sign in to comment.