Skip to content

Commit ea3ec1f

Browse files
author
felipe-colussi
committed
fix fmt after resolving conflict
1 parent b372593 commit ea3ec1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rancher2/resource_rancher2_cluster.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ func resourceRancher2ClusterCreate(ctx context.Context, d *schema.ResourceData,
151151
newCluster := &Cluster{}
152152
if cluster.EKSConfig != nil && !cluster.EKSConfig.Imported {
153153
if !checkClusterEKSConfigV2NodeGroupsDesiredSize(cluster) {
154-
return diag.Errorf("[ERROR] can't create %s EKS cluster with node group desired_size = 0. desired_size must be >=1. After initial provisioning, desired_size may be scaled down to 0 at any time", cluster.Name) }
154+
return diag.Errorf("[ERROR] can't create %s EKS cluster with node group desired_size = 0. desired_size must be >=1. After initial provisioning, desired_size may be scaled down to 0 at any time", cluster.Name)
155+
}
155156
clusterStr, _ := interfaceToJSON(cluster)
156157
clusterMap, _ := jsonToMapInterface(clusterStr)
157158
clusterMap["eksConfig"] = fixClusterEKSConfigV2(d.Get("eks_config_v2").([]interface{}), structToMap(cluster.EKSConfig))

0 commit comments

Comments
 (0)