File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ func fillMovedBlocks(body *hclwrite.Body, moveLabels []string) {
107
107
}
108
108
}
109
109
110
- // createDefaultReplicationSpec creates a default replication_specs for clusters without any
110
+ // createDefaultRepSpec creates a default replication_specs for clusters without any
111
111
// (e.g. upgraded from free tier).
112
- func createDefaultReplicationSpec (resourceb * hclwrite.Body , root attrVals ) error {
112
+ func createDefaultRepSpec (resourceb * hclwrite.Body , root attrVals ) error {
113
113
resourceb .SetAttributeValue (nClusterType , cty .StringVal (valClusterType ))
114
114
configb := hclwrite .NewEmptyFile ().Body ()
115
115
hcl .SetAttrInt (configb , nPriority , valMaxPriority )
@@ -186,7 +186,7 @@ func processRepSpecsCluster(resourceb *hclwrite.Body, root attrVals) error {
186
186
}
187
187
repSpecBlocks := collectBlocks (resourceb , nRepSpecs )
188
188
if len (repSpecBlocks ) == 0 {
189
- return createDefaultReplicationSpec (resourceb , root )
189
+ return createDefaultRepSpec (resourceb , root )
190
190
}
191
191
dConfig , err := processConfigsWithDynamicRegion (repSpecBlocks [0 ].Body (), root , false )
192
192
if err != nil {
You can’t perform that action at this time.
0 commit comments