bump k8s.io/utils version

This commit is contained in:
SataQiu
2019-12-17 23:12:53 +08:00
parent 183a3e58cd
commit 2497a1209b
51 changed files with 400 additions and 384 deletions

View File

@@ -335,14 +335,14 @@ func makeFakeCmd(fakeCmd *testingexec.FakeCmd, cmd string, args ...string) testi
}
}
func makeFakeOutput(output string, rc int) testingexec.FakeCombinedOutputAction {
func makeFakeOutput(output string, rc int) testingexec.FakeAction {
o := output
var e error
if rc != 0 {
e = testingexec.FakeExitError{Status: rc}
}
return func() ([]byte, error) {
return []byte(o), e
return func() ([]byte, []byte, error) {
return []byte(o), nil, e
}
}