From ee819d0246ee213f45caaa529c2f8118a223d3bb Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sun, 22 Dec 2024 03:28:45 +0000 Subject: [PATCH] cleanup: refine resizevolume error log on Windows --- pkg/os/volume/volume.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/os/volume/volume.go b/pkg/os/volume/volume.go index 5c1a6f0eab..3de538e4b1 100644 --- a/pkg/os/volume/volume.go +++ b/pkg/os/volume/volume.go @@ -145,7 +145,7 @@ func ResizeVolume(volumeID string, size int64) error { // only resize if finalSize - currentSize is greater than 100MB if finalSize-currentSize < 100*1024*1024 { - klog.V(2).Infof("Attempted to resize volume %s to a lower size, from currentBytes=%d wantedBytes=%d", volumeID, currentSize, finalSize) + klog.V(2).Infof("minimum resize difference(1GB) not met, skipping resize. volumeID=%s currentSize=%d finalSize=%d", volumeID, currentSize, finalSize) return nil }