mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #43804 from Crazykev/wrong-err
Automatic merge from submit-queue fix wrong error return Signed-off-by: Crazykev <crazykev@zju.edu.cn> **What this PR does / why we need it**: The err return here is wrong, correct it. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note ```
This commit is contained in:
commit
ad3e0903f3
@ -2252,7 +2252,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