Skip to content

Commit

Permalink
Merge pull request #38 from bobrik/return-error
Browse files Browse the repository at this point in the history
Return error from Explorer::Run instead of failing
  • Loading branch information
bobrik committed Jun 1, 2016
2 parents 6c524ba + e524241 commit 528dbe5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions explorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ func (e *Explorer) Run() error {

d, err := e.discover()
if err != nil {
log.Fatal("error discovering:", err)
continue
return err
}

e.updateBalancers(d)
Expand Down

0 comments on commit 528dbe5

Please sign in to comment.