Skip to content

Commit 755a714

Browse files
committed
Fixed variable names
1 parent 615499d commit 755a714

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

cmd/internal/converters/variable_set_converter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func (c VariableSetConverter) GetResourceType() string {
224224

225225
func (c VariableSetConverter) convertSecretValue(variable octopus2.Variable, parentName string) *string {
226226
if variable.IsSensitive {
227-
value := "${var." + parentName + "}"
227+
value := "${var." + sanitizer.SanitizeName(parentName) + "}"
228228
return &value
229229
}
230230

wasm/convert_project.wasm

82 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)