From 581bd16b15e31fffeafffaab9571ba07040110ed Mon Sep 17 00:00:00 2001 From: Yahya Lafdi Date: Sat, 1 Mar 2025 22:07:06 +0000 Subject: [PATCH] remove unsed err --- internal/services/compute/no_downtime_resize.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/services/compute/no_downtime_resize.go b/internal/services/compute/no_downtime_resize.go index 78f3a168c45c..2f0d8b415c8e 100644 --- a/internal/services/compute/no_downtime_resize.go +++ b/internal/services/compute/no_downtime_resize.go @@ -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