Skip to content

Commit

Permalink
Merge pull request #33 from mattrobenolt/fix-watcher
Browse files Browse the repository at this point in the history
catalog/from-k8s: Don't spin loop on watchService
  • Loading branch information
Rebecca Zanzig committed Feb 5, 2019
2 parents 738afbb + 8cdd856 commit 3d0438e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion catalog/from-k8s/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ func (s *ConsulSyncer) watchService(ctx context.Context, name string) {

// Wait for our poll period
case <-time.After(s.SyncPeriod):
default:
}

// Wait for service changes
Expand Down

0 comments on commit 3d0438e

Please sign in to comment.