]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 23 Nov 2023 23:30:03 +0000 (12:30 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Dec 2023 02:28:33 +0000 (02:28 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
ctdb/server/ctdb_ltdb_server.c

index 9eba8d7f0e9a459ba69747ace9e6a861d76b9333..e2cb9165c71ac08a3719329b346c1e6a24e344df 100644 (file)
@@ -461,8 +461,8 @@ int ctdb_update_persistent_health(struct ctdb_context *ctdb,
                }
        } else if (old_reason && num_healthy_nodes == 0) {
                /*
-                * If the reason indicates ok, but there where no healthy nodes
-                * available, that it means, we have not recovered valid content
+                * If the reason indicates ok, but there were no healthy nodes
+                * available, it means that we have not recovered valid content
                 * of the db. So if there's an old reason, prefix it with
                 * "NO-HEALTHY-NODES - "
                 */