mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
updated errors pkg to fmt for test/e2e/network/netopol test_helper
Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>
This commit is contained in:
parent
a53e2eaeab
commit
4353365aa9
@ -22,7 +22,6 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/onsi/ginkgo"
|
||||
"github.com/pkg/errors"
|
||||
networkingv1 "k8s.io/api/networking/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/util/wait"
|
||||
@ -105,7 +104,7 @@ func waitForHTTPServers(k *kubeManager, model *Model) error {
|
||||
}
|
||||
time.Sleep(waitInterval)
|
||||
}
|
||||
return errors.Errorf("after %d tries, %d HTTP servers are not ready", maxTries, len(notReady))
|
||||
return fmt.Errorf("after %d tries, %d HTTP servers are not ready", maxTries, len(notReady))
|
||||
}
|
||||
|
||||
// ValidateOrFail validates connectivity
|
||||
|
Loading…
Reference in New Issue
Block a user