Skip to content

Commit

Permalink
Merge branch 'master' into credential-ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
lpabon authored Mar 14, 2019
2 parents 8fb59b8 + 261030e commit edb4d0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cluster/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -970,8 +970,6 @@ func (c *ClusterManager) waitForQuorum(exist bool) error {
}
return err
}
c.status = api.Status_STATUS_OK
c.selfNode.Status = api.Status_STATUS_OK
break
} else {
c.status = api.Status_STATUS_NOT_IN_QUORUM
Expand Down Expand Up @@ -1000,6 +998,10 @@ func (c *ClusterManager) waitForQuorum(exist bool) error {
}
}

// Update the status after the listeners are started to ensure all REST points are available.
c.status = api.Status_STATUS_OK
c.selfNode.Status = api.Status_STATUS_OK

return nil
}

Expand Down

0 comments on commit edb4d0c

Please sign in to comment.