Skip to content

Commit 5c99c80

Browse files
committed
[OPS-967] Convert double underscores in env vars to dashes in java/scala properties
Signed-off-by: Marios Andreopoulos <opensource@andmarios.com>
1 parent 6edcc50 commit 5c99c80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

filesystem/usr/local/share/landoop/config_kafka.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ function process_variable {
3333
fi
3434
# Convert underscores in var name to stops
3535
conf="${conf//_/.}"
36+
# Convert double underscores in var name to dashes
37+
conf="${conf//../-}"
3638

3739

3840
echo "${conf}=${!var}" >> "$config_file"

0 commit comments

Comments
 (0)