mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
fix wrong error return
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
This commit is contained in:
parent
72207db455
commit
6f86cd1a32
@ -2222,7 +2222,7 @@ func (f *Framework) MatchContainerOutput(
|
||||
}
|
||||
Logf("Output of node %q pod %q container %q: %s", podStatus.Spec.NodeName, podStatus.Name, container.Name, logs)
|
||||
}
|
||||
return fmt.Errorf("expected pod %q success: %v", createdPod.Name, err)
|
||||
return fmt.Errorf("expected pod %q success: %v", createdPod.Name, podErr)
|
||||
}
|
||||
|
||||
Logf("Trying to get logs from node %s pod %s container %s: %v",
|
||||
|
Loading…
Reference in New Issue
Block a user