Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 335acc1

Browse files
authored
Fix broker in-memory config on Windows (#276)
1 parent abf8618 commit 335acc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/triggermesh/components/broker/broker.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ func brokerEntrypoint(c config.BrokerConfig) []string {
308308
if c.Redis.SkipVerify {
309309
entrypoint = append(entrypoint, "--redis.tls-skip-verify")
310310
}
311-
if c.ConfigPollingPeriod != "" {
312-
entrypoint = append(entrypoint, []string{"--config-polling-period", c.ConfigPollingPeriod}...)
313-
}
311+
}
312+
if c.ConfigPollingPeriod != "" {
313+
entrypoint = append(entrypoint, []string{"--config-polling-period", c.ConfigPollingPeriod}...)
314314
}
315315
return append(entrypoint, []string{"--broker-config-path", "/etc/triggermesh/broker.conf"}...)
316316
}

0 commit comments

Comments
 (0)