Commit 94bbe29c authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #36313 from luxas/fix_crossbuild2

Automatic merge from submit-queue Fix the crossbuild that #35132 broke @dashpole @dchen1107 @vishh A quick LGTM would be nice in order to not block any releases.
parents 649f243d 190a513c
...@@ -19,17 +19,20 @@ limitations under the License. ...@@ -19,17 +19,20 @@ limitations under the License.
package util package util
import ( import (
"errors"
"fmt" "fmt"
"k8s.io/kubernetes/pkg/api/resource" "k8s.io/kubernetes/pkg/api/resource"
) )
// FSInfo unsupported returns 0 values for available and capacity and an error. // FSInfo unsupported returns 0 values for available and capacity and an error.
func FsInfo(path string) (int64, int64, int64, error) { func FsInfo(path string) (int64, int64, int64, int64, int64, int64, error) {
return 0, 0, 0, errors.New("FsInfo not supported for this build.") return 0, 0, 0, 0, 0, 0, fmt.Errorf("FsInfo not supported for this build.")
} }
func Du(path string) (*resource.Quantity, error) { func Du(path string) (*resource.Quantity, error) {
return nil, fmt.Errorf("Du not support for this build.") return nil, fmt.Errorf("Du not supported for this build.")
}
func Find(path string) (int64, error) {
return 0, fmt.Errorf("Find not supported for this build.")
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment