From c24d73a9c9faa3888dedab1af930f8a03d74f124 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Thu, 5 Dec 2024 05:00:46 +0000 Subject: [PATCH] chore: always resize during mount on Windows node --- pkg/azuredisk/azure_common_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/azuredisk/azure_common_windows.go b/pkg/azuredisk/azure_common_windows.go index 7ec005d159..f253a7f88e 100644 --- a/pkg/azuredisk/azure_common_windows.go +++ b/pkg/azuredisk/azure_common_windows.go @@ -154,7 +154,7 @@ func resizeVolume(devicePath, volumePath string, m *mount.SafeFormatAndMount) er // needResizeVolume check whether device needs resize func needResizeVolume(devicePath, volumePath string, m *mount.SafeFormatAndMount) (bool, error) { - return false, nil + return true, nil } // rescanVolume rescan device for detecting device size expansion