Merge pull request #109721 from andyzhangx/needresize-windows

fix: NeedResize build failure on Windows
This commit is contained in:
Kubernetes Prow Robot
2022-05-03 05:13:55 -07:00
committed by GitHub

View File

@@ -39,3 +39,8 @@ func NewResizeFs(exec utilexec.Interface) *ResizeFs {
func (resizefs *ResizeFs) Resize(devicePath string, deviceMountPath string) (bool, error) {
return false, fmt.Errorf("Resize is not supported for this build")
}
// NeedResize check whether mounted volume needs resize
func (resizefs *ResizeFs) NeedResize(devicePath string, deviceMountPath string) (bool, error) {
return false, fmt.Errorf("NeedResize is not supported for this build")
}