remove github.com/kardianos/osext

This commit is contained in:
Ruslan Gustomiasov
2019-07-14 17:37:38 +02:00
parent b9615d5bbc
commit b4ce777b79
17 changed files with 2 additions and 314 deletions

View File

@@ -46,7 +46,6 @@ import (
"k8s.io/kubernetes/test/e2e/generated"
"k8s.io/kubernetes/test/e2e_node/services"
"github.com/kardianos/osext"
. "github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/config"
morereporters "github.com/onsi/ginkgo/reporters"
@@ -204,7 +203,7 @@ var _ = SynchronizedAfterSuite(func() {}, func() {
// validateSystem runs system validation in a separate process and returns error if validation fails.
func validateSystem() error {
testBin, err := osext.Executable()
testBin, err := os.Executable()
if err != nil {
return fmt.Errorf("can't get current binary: %v", err)
}