Skip to content

Commit 7331af6

Browse files
committed
rename
1 parent 8f784c3 commit 7331af6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/convert/clu2adv.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ func fillMovedBlocks(body *hclwrite.Body, moveLabels []string) {
107107
}
108108
}
109109

110-
// createDefaultReplicationSpec creates a default replication_specs for clusters without any
110+
// createDefaultRepSpec creates a default replication_specs for clusters without any
111111
// (e.g. upgraded from free tier).
112-
func createDefaultReplicationSpec(resourceb *hclwrite.Body, root attrVals) error {
112+
func createDefaultRepSpec(resourceb *hclwrite.Body, root attrVals) error {
113113
resourceb.SetAttributeValue(nClusterType, cty.StringVal(valClusterType))
114114
configb := hclwrite.NewEmptyFile().Body()
115115
hcl.SetAttrInt(configb, nPriority, valMaxPriority)
@@ -186,7 +186,7 @@ func processRepSpecsCluster(resourceb *hclwrite.Body, root attrVals) error {
186186
}
187187
repSpecBlocks := collectBlocks(resourceb, nRepSpecs)
188188
if len(repSpecBlocks) == 0 {
189-
return createDefaultReplicationSpec(resourceb, root)
189+
return createDefaultRepSpec(resourceb, root)
190190
}
191191
dConfig, err := processConfigsWithDynamicRegion(repSpecBlocks[0].Body(), root, false)
192192
if err != nil {

0 commit comments

Comments
 (0)