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

Commit

Permalink
Fix broker in-memory config on Windows (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzununbekov authored Mar 10, 2023
1 parent abf8618 commit 335acc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/triggermesh/components/broker/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ func brokerEntrypoint(c config.BrokerConfig) []string {
if c.Redis.SkipVerify {
entrypoint = append(entrypoint, "--redis.tls-skip-verify")
}
if c.ConfigPollingPeriod != "" {
entrypoint = append(entrypoint, []string{"--config-polling-period", c.ConfigPollingPeriod}...)
}
}
if c.ConfigPollingPeriod != "" {
entrypoint = append(entrypoint, []string{"--config-polling-period", c.ConfigPollingPeriod}...)
}
return append(entrypoint, []string{"--broker-config-path", "/etc/triggermesh/broker.conf"}...)
}

0 comments on commit 335acc1

Please sign in to comment.