We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2868de0 commit d1705a7Copy full SHA for d1705a7
providers/gce/gce_instances_test.go
@@ -30,7 +30,7 @@ import (
30
"github.com/stretchr/testify/assert"
31
"github.com/stretchr/testify/require"
32
ga "google.golang.org/api/compute/v1"
33
- "k8s.io/api/core/v1"
+ v1 "k8s.io/api/core/v1"
34
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
35
types "k8s.io/apimachinery/pkg/types"
36
)
@@ -59,7 +59,7 @@ func TestInstanceExists(t *testing.T) {
59
name: "node not exist",
60
nodeName: "test-node-2",
61
exist: false,
62
- expectedErr: fmt.Errorf("failed to get instance ID from cloud provider: instance not found"),
+ expectedErr: nil,
63
},
64
}
65
0 commit comments