Skip to content

Commit 4c3fc75

Browse files
committed
typo
1 parent 9a9c906 commit 4c3fc75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/hcl/hcl.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ func fillFreeTier(body *hclwrite.Body) error {
9191
regionConfigBody.SetAttributeRaw(strElectableSpecs, tokensObject(electableSpec))
9292

9393
replicationSpec := hclwrite.NewEmptyFile()
94-
replicationSpec.Body().SetAttributeRaw(strRegionConfigs, tokenArrayObject(regionConfig))
95-
body.SetAttributeRaw(strReplicationSpecs, tokenArrayObject(replicationSpec))
94+
replicationSpec.Body().SetAttributeRaw(strRegionConfigs, tokensArrayObject(regionConfig))
95+
body.SetAttributeRaw(strReplicationSpecs, tokensArrayObject(replicationSpec))
9696
return nil
9797
}
9898

@@ -113,7 +113,7 @@ func setAttrInt(body *hclwrite.Body, attrName string, number int) {
113113
body.SetAttributeRaw(attrName, tokens)
114114
}
115115

116-
func tokenArrayObject(file *hclwrite.File) hclwrite.Tokens {
116+
func tokensArrayObject(file *hclwrite.File) hclwrite.Tokens {
117117
ret := hclwrite.Tokens{
118118
{Type: hclsyntax.TokenOBrack, Bytes: []byte("[")},
119119
}

0 commit comments

Comments
 (0)