mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #109721 from andyzhangx/needresize-windows
fix: NeedResize build failure on Windows
This commit is contained in:
commit
70d470e6aa
@ -39,3 +39,8 @@ func NewResizeFs(exec utilexec.Interface) *ResizeFs {
|
|||||||
func (resizefs *ResizeFs) Resize(devicePath string, deviceMountPath string) (bool, error) {
|
func (resizefs *ResizeFs) Resize(devicePath string, deviceMountPath string) (bool, error) {
|
||||||
return false, fmt.Errorf("Resize is not supported for this build")
|
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")
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user