Skip to content

Commit 8a12a5f

Browse files
committed
chore: Fix some grammatical errors in cluster alerts
Signed-off-by: Vincent Liu <[email protected]>
1 parent 1683f8f commit 8a12a5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ocaml/xapi/xapi_cluster_helpers.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ let maybe_generate_alert ~__context ~num_hosts ~hosts_left ~hosts_joined ~quorum
126126
let body =
127127
Printf.sprintf
128128
"Host %s has joined the cluster, there are now %d host(s) in \
129-
cluster and %d hosts are required to form a quorum"
129+
cluster and %d host(s) are required to form a quorum"
130130
host_name num_hosts quorum
131131
in
132132
let name, priority = Api_messages.cluster_host_joining in
@@ -135,7 +135,7 @@ let maybe_generate_alert ~__context ~num_hosts ~hosts_left ~hosts_joined ~quorum
135135
let body =
136136
Printf.sprintf
137137
"Host %s has left the cluster, there are now %d host(s) in \
138-
cluster and %d hosts are required to form a quorum"
138+
cluster and %d host(s) are required to form a quorum"
139139
host_name num_hosts quorum
140140
in
141141
let name, priority = Api_messages.cluster_host_leaving in
@@ -157,7 +157,7 @@ let maybe_generate_alert ~__context ~num_hosts ~hosts_left ~hosts_joined ~quorum
157157
let name, priority = Api_messages.cluster_quorum_approaching_lost in
158158
let body =
159159
Printf.sprintf
160-
"The cluster is losing quorum: current %d hosts, need %d hosts for a \
160+
"The cluster is losing quorum: currently %d host(s), need %d host(s) for a \
161161
quorum"
162162
num_hosts quorum
163163
in

0 commit comments

Comments
 (0)