We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ded1cc commit d68c2d5Copy full SHA for d68c2d5
conf/parse_test.go
@@ -242,6 +242,17 @@ func TestEnvVariableEmbeddedOutsideOfQuotes(t *testing.T) {
242
}
243
244
245
+func TestEnvVariableEmbeddedSYS(t *testing.T) {
246
+ // https://github.com/nats-io/nats-server/pull/5544#discussion_r1641577620
247
+ cluster := `
248
+ system_account: "$SYS"
249
+ `
250
+ ex := map[string]any{
251
+ "system_account": "$SYS",
252
+ }
253
+ test(t, cluster, ex)
254
+}
255
+
256
func TestBcryptVariable(t *testing.T) {
257
ex := map[string]any{
258
"password": "$2a$11$ooo",
0 commit comments