mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +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,
|
||||
)
|
||||
}
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user