Skip to content

Commit 3c880cb

Browse files
provisioner: add replaceAll template function
Signed-off-by: Alexander Yastrebov <[email protected]>
1 parent 6943896 commit 3c880cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provisioner/template.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ func renderTemplate(context *templateContext, file string) (string, error) {
112112
"azID": azID,
113113
"azCount": azCount,
114114
"split": split,
115+
"replaceAll": strings.ReplaceAll,
115116
"mountUnitName": mountUnitName,
116117
"accountID": accountID,
117118
"portRanges": portRanges,

0 commit comments

Comments
 (0)