mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
Supervisor should be passed by referance
This commit is contained in:
parent
f7ef563861
commit
cf6da447d9
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -45,7 +45,7 @@ func main() {
|
|||
}
|
||||
|
||||
chEnv := make(chan *icingadb_ha.Environment)
|
||||
ha := icingadb_ha.NewHA(super)
|
||||
ha := icingadb_ha.NewHA(&super)
|
||||
go ha.Run(super.Rdbw, super.Dbw, chEnv, super.ChErr)
|
||||
go func() {
|
||||
super.ChErr <- icingadb_ha.IcingaEventsBroker(redisConn, chEnv)
|
||||
|
|
|
|||
Loading…
Reference in a new issue