Skip to content

Commit

Permalink
rename chan getter
Browse files Browse the repository at this point in the history
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
  • Loading branch information
Kavindu-Dodan committed Mar 12, 2024
1 parent 65e9234 commit ae6a547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flagd/pkg/service/flag-sync/sync_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (s *Service) Start(ctx context.Context) error {
s.logger.Warn("timeout while waiting for all sync sources to complete their initial sync. " +
"continuing sync service")
break
case <-s.startupTracker.done():
case <-s.startupTracker.getDone():
break
}

Expand Down Expand Up @@ -133,7 +133,7 @@ type syncTracker struct {
doneChan chan interface{}
}

func (t *syncTracker) done() <-chan interface{} {
func (t *syncTracker) getDone() <-chan interface{} {
return t.doneChan
}

Expand Down

0 comments on commit ae6a547

Please sign in to comment.