mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
fix incorrect parameter passing
Signed-off-by: bruceauyeung <ouyang.qinhua@zte.com.cn>
This commit is contained in:
parent
f545d6ad47
commit
21e49646b8
@ -177,7 +177,7 @@ func TestWriteKubeconfigToDisk(t *testing.T) {
|
|||||||
err,
|
err,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
newFile, err := ioutil.ReadFile(configPath)
|
newFile, _ := ioutil.ReadFile(configPath)
|
||||||
if !bytes.Equal(newFile, rt.file) {
|
if !bytes.Equal(newFile, rt.file) {
|
||||||
t.Errorf(
|
t.Errorf(
|
||||||
"failed WriteKubeconfigToDisk config write:\n\texpected: %s\n\t actual: %s",
|
"failed WriteKubeconfigToDisk config write:\n\texpected: %s\n\t actual: %s",
|
||||||
|
Loading…
Reference in New Issue
Block a user