Skip to content

Commit 27a28fa

Browse files
Update exoscale/resource_exoscale_sks_cluster.go
use constant instead of a string Co-authored-by: Philipp Sauter <[email protected]>
1 parent 59aa3d8 commit 27a28fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exoscale/resource_exoscale_sks_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func resourceSKSClusterCreate(ctx context.Context, d *schema.ResourceData, meta
303303
createReq.AutoUpgrade = &autoUpgrade
304304
}
305305

306-
if !d.GetRawConfig().GetAttr("enable_kube_proxy").IsNull() {
306+
if !d.GetRawConfig().GetAttr(resSKSClusterAttrEnableKubeProxy).IsNull() {
307307
v := d.Get(resSKSClusterAttrEnableKubeProxy).(bool)
308308
createReq.EnableKubeProxy = &v
309309
}

0 commit comments

Comments
 (0)