Skip to content

Commit 13f372c

Browse files
fix: engine command
1 parent 2ce56b4 commit 13f372c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

charts/codefresh/files/updateSystemReImages.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function updateRESpec {
3838
mongosh "$MONGO_URI_RE_MANAGER" --tls --tlsCertificateKeyFile /etc/ssl/mongodb/ca.pem --tlsAllowInvalidHostnames --tlsAllowInvalidCertificates --eval "db.getCollection('runtime-environment').updateOne(
3939
{'metadata.name': '$1'},
4040
{ \$set: {
41-
\"runtimeScheduler.command\": \"[node, dist/server/index.js]\",
41+
\"runtimeScheduler.command\": ["node", "dist/server/index.js"],
4242
}
4343
}
4444
)"
@@ -65,12 +65,12 @@ function updateRESpec {
6565
}
6666
)"
6767
mongosh "$MONGO_URI_RE_MANAGER" --eval "db.getCollection('runtime-environment').updateOne(
68-
{'metadata.name': '$1'},
69-
{ \$set: {
70-
\"runtimeScheduler.command\": \"[node, dist/server/index.js]\",
71-
}
68+
{'metadata.name': '$1'},
69+
{ \$set: {
70+
\"runtimeScheduler.command\": [\"node\", \"dist/server/index.js\"]
7271
}
73-
)"
72+
}
73+
)"
7474
fi
7575
}
7676

0 commit comments

Comments
 (0)