Skip to content

Commit

Permalink
remove unsed err
Browse files Browse the repository at this point in the history
  • Loading branch information
Yahya Lafdi committed Mar 1, 2025
1 parent 81d4468 commit 581bd16
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/services/compute/no_downtime_resize.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ func determineIfVirtualMachineDiskControllerTypeSupportsNoDowntimeResize(ctx con
vmDiskControllerType = string(*model.Properties.StorageProfile.DiskControllerType)
}
}
if err != nil {
return nil, fmt.Errorf("retrieving information about the Resource disk controller type to check if the Virtual Machine/Disk combination supports no-downtime-resizing: %+v", err)
}

if vmDiskControllerType == "" {
return pointer.To(false), nil
Expand Down

0 comments on commit 581bd16

Please sign in to comment.