diff options
| author | Xiang Dai <long0dai@foxmail.com> | 2020-12-07 09:19:31 +0800 |
|---|---|---|
| committer | Xiang Dai <long0dai@foxmail.com> | 2020-12-07 15:00:31 +0800 |
| commit | 8cb2b338a4426119309a745088e7c4f693f45a50 (patch) | |
| tree | 8d8f9576d099bdb7d592e12c78f3f0e4fedcbe5d /edge/test | |
| parent | Merge pull request #2402 from QinglongLee/develop (diff) | |
| download | kubeedge-8cb2b338a4426119309a745088e7c4f693f45a50.tar.gz | |
CI: fix panic and other existing issues
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Diffstat (limited to 'edge/test')
| -rw-r--r-- | edge/test/cloudhub/stub.go | 2 | ||||
| -rw-r--r--[-rwxr-xr-x] | edge/test/integration/appdeployment/application_test.go | 2 | ||||
| -rw-r--r-- | edge/test/integration/utils/helpers/helpers.go | 2 | ||||
| -rw-r--r-- | edge/test/test.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/edge/test/cloudhub/stub.go b/edge/test/cloudhub/stub.go index 6f5f79460..dec21dd85 100644 --- a/edge/test/cloudhub/stub.go +++ b/edge/test/cloudhub/stub.go @@ -8,7 +8,7 @@ import ( "github.com/gorilla/mux" "github.com/gorilla/websocket" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" "k8s.io/klog/v2" "github.com/kubeedge/beehive/pkg/core" diff --git a/edge/test/integration/appdeployment/application_test.go b/edge/test/integration/appdeployment/application_test.go index 72cb2913d..6b51020b4 100755..100644 --- a/edge/test/integration/appdeployment/application_test.go +++ b/edge/test/integration/appdeployment/application_test.go @@ -22,7 +22,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/util/intstr" diff --git a/edge/test/integration/utils/helpers/helpers.go b/edge/test/integration/utils/helpers/helpers.go index f18c6f628..cd1144943 100644 --- a/edge/test/integration/utils/helpers/helpers.go +++ b/edge/test/integration/utils/helpers/helpers.go @@ -28,7 +28,7 @@ import ( MQTT "github.com/eclipse/paho.mqtt.golang" "github.com/onsi/gomega" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" diff --git a/edge/test/test.go b/edge/test/test.go index ac9bf6ce8..234901aa4 100644 --- a/edge/test/test.go +++ b/edge/test/test.go @@ -7,7 +7,7 @@ import ( "net/http" "time" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" "k8s.io/klog/v2" "github.com/kubeedge/beehive/pkg/core" |
