Syncing consul periodically

This commit is contained in:
Diptanu Choudhury 2016-03-23 14:27:49 -07:00
parent bf748a522b
commit 83976a4b96

View file

@ -354,7 +354,7 @@ func (e *UniversalExecutor) RegisterServices() error {
if err != nil {
e.logger.Printf("executor: error registering services: %v", err)
}
//go e.consulService.SyncWithConsul()
go e.consulService.SyncWithConsul()
return err
}