mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix a bug in mirror pod node e2e test.
This commit is contained in:
parent
30c43e63af
commit
8a4c394ede
@ -17,6 +17,7 @@ limitations under the License.
|
||||
package e2e_node
|
||||
|
||||
import (
|
||||
goerrors "errors"
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@ -160,7 +161,7 @@ func checkMirrorPodDisappear(cl *client.Client, name, namespace string) error {
|
||||
if errors.IsNotFound(err) {
|
||||
return nil
|
||||
}
|
||||
return err
|
||||
return goerrors.New("pod not disappear")
|
||||
}
|
||||
|
||||
func checkMirrorPodRunning(cl *client.Client, name, namespace string) error {
|
||||
|
Loading…
Reference in New Issue
Block a user