Skip to content

Commit

Permalink
Change condition of readyness
Browse files Browse the repository at this point in the history
Signed-off-by: Giovanni Liva <[email protected]>
  • Loading branch information
thisthat committed Feb 21, 2023
1 parent 0004a2a commit 385c93b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ func (r *Runtime) Start() error {
func (r *Runtime) isReady() bool {
// if at least a provider can watch for flags changes, we are ready.
for _, p := range r.SyncImpl {
if p.IsReady() {
return true
if !p.IsReady() {
return false
}
}
return false
return true
}

// updateWithNotify helps to update state and notify listeners
Expand Down

0 comments on commit 385c93b

Please sign in to comment.