remove signals from start

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2018-10-26 12:36:07 +00:00
parent 27fd24a181
commit f8763a7a16
No known key found for this signature in database
GPG Key ID: A519480096146526
1 changed files with 1 additions and 3 deletions

View File

@ -1,13 +1,11 @@
package element
import (
"os"
"github.com/sirupsen/logrus"
)
// Start handles cluster events
func (a *Agent) Start(s chan os.Signal) error {
func (a *Agent) Start() error {
go func() {
for range a.peerUpdateChan {
if err := a.members.UpdateNode(nodeUpdateTimeout); err != nil {