Commit 21e49646 authored by bruceauyeung's avatar bruceauyeung

fix incorrect parameter passing

parent f545d6ad
......@@ -177,7 +177,7 @@ func TestWriteKubeconfigToDisk(t *testing.T) {
err,
)
}
newFile, err := ioutil.ReadFile(configPath)
newFile, _ := ioutil.ReadFile(configPath)
if !bytes.Equal(newFile, rt.file) {
t.Errorf(
"failed WriteKubeconfigToDisk config write:\n\texpected: %s\n\t actual: %s",
......
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