Skip to content

Commit

Permalink
Merge pull request #106 from QubitProducts/reload_on_start
Browse files Browse the repository at this point in the history
Reload haproxy on startup
  • Loading branch information
Jing Dong committed Apr 3, 2015
2 parents 9b560be + 2720a19 commit b645fbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/bamboo/bamboo.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func main() {
handlers := event_bus.Handlers{Conf: &conf, Zookeeper: zkConn}
eventBus.Register(handlers.MarathonEventHandler)
eventBus.Register(handlers.ServiceEventHandler)
eventBus.Publish(event_bus.MarathonEvent { EventType: "bamboo_startup", Timestamp: time.Now().Format(time.RFC3339) })

// Start server
initServer(&conf, zkConn, eventBus)
Expand Down

0 comments on commit b645fbf

Please sign in to comment.