Skip to content

Commit f1126be

Browse files
authored
fix(scripts): add single quotes around the env values (#2072)
Signed-off-by: Ning Yu <[email protected]>
1 parent 2450560 commit f1126be

File tree

1 file changed

+1
-1
lines changed
  • automq-shell/src/main/java/com/automq/shell/commands/cluster

1 file changed

+1
-1
lines changed

automq-shell/src/main/java/com/automq/shell/commands/cluster/Deploy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private static String genBrokerStartupCmd(ClusterTopology topo, Node node) {
149149
}
150150

151151
private static void appendEnvs(StringBuilder sb, ClusterTopology topo) {
152-
topo.getGlobal().getEnvs().forEach(env -> sb.append(env.getName()).append("=").append(env.getValue()).append(" "));
152+
topo.getGlobal().getEnvs().forEach(env -> sb.append(env.getName()).append("='").append(env.getValue()).append("' "));
153153
}
154154

155155
private static void appendCommonConfigsOverride(StringBuilder sb, ClusterTopology topo, Node node) {

0 commit comments

Comments
 (0)