1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Comment improvement

This commit is contained in:
Ewout Prangsma 2018-06-14 15:56:21 +02:00
parent e5e39b41f7
commit c5c6f3b8f7
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -211,7 +211,7 @@ func (ds *DeploymentStatusMembers) RemoveByID(id string, group ServerGroup) erro
return nil
}
// AllMembersReady returns true when all members are in the Ready state.
// AllMembersReady returns true when all members, that must be ready for the given mode, are in the Ready state.
func (ds DeploymentStatusMembers) AllMembersReady(mode DeploymentMode, syncEnabled bool) bool {
syncReady := func() bool {
if syncEnabled {