File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ func TestAccGitlabInstanceCluster_basic(t *testing.T) {
47
47
KubernetesApiURL : "https://123.123.123" ,
48
48
KubernetesCACert : instanceClusterFakeCert ,
49
49
KubernetesAuthorizationType : "abac" ,
50
+ Managed : false ,
50
51
}),
51
52
),
52
53
},
@@ -128,6 +129,7 @@ type testAccGitlabInstanceClusterExpectedAttributes struct {
128
129
KubernetesCACert string
129
130
KubernetesAuthorizationType string
130
131
ManagementProjectID string
132
+ Managed bool
131
133
}
132
134
133
135
func testAccCheckGitlabInstanceClusterExists (n string , cluster * gitlab.InstanceCluster ) resource.TestCheckFunc {
@@ -169,7 +171,7 @@ func testAccCheckGitlabInstanceClusterDestroy(s *terraform.State) error {
169
171
}
170
172
171
173
gotCluster , resp , err := conn .InstanceCluster .GetCluster (instanceClusterID )
172
- fmt . Println ( gotCluster )
174
+
173
175
if err == nil {
174
176
if gotCluster != nil && gotCluster .ID == instanceClusterID {
175
177
return fmt .Errorf ("instance cluster still exists" )
@@ -215,6 +217,7 @@ func testAccCheckGitlabInstanceClusterAttributes(cluster *gitlab.InstanceCluster
215
217
216
218
func testAccGitlabInstanceClusterConfig (rInt int , managed bool ) string {
217
219
m := fmt .Sprintf ("%t" , managed )
220
+ fmt .Println (m )
218
221
219
222
return fmt .Sprintf (`
220
223
variable "cert" {
You can’t perform that action at this time.
0 commit comments