From 827fe9f39b7c95af4d14d6aca0f8c463a08d98e8 Mon Sep 17 00:00:00 2001 From: Philipp Eberle Date: Wed, 24 Jul 2024 10:45:28 +0200 Subject: [PATCH] Fix typos --- controllers/postgres_controller.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controllers/postgres_controller.go b/controllers/postgres_controller.go index 5f3e1864..5bb04160 100644 --- a/controllers/postgres_controller.go +++ b/controllers/postgres_controller.go @@ -1058,17 +1058,17 @@ func (r *PostgresReconciler) checkAndUpdatePatroniReplicationConfig(log logr.Log if instance.IsReplicationPrimary() { if resp.StandbyCluster != nil { - log.V(debugLogLevel).Info("standby_cluster mistmatch, requeing", "response", resp) + log.V(debugLogLevel).Info("standby_cluster mismatch, requeing", "response", resp) return requeueAfterReconcile, nil } if instance.Spec.PostgresConnection.SynchronousReplication { if resp.SynchronousNodesAdditional == nil || *resp.SynchronousNodesAdditional != instance.Spec.PostgresConnection.ConnectedPostgresID { - log.V(debugLogLevel).Info("synchronous_nodes_additional mistmatch, updating and requeing", "response", resp) + log.V(debugLogLevel).Info("synchronous_nodes_additional mismatch, updating and requeing", "response", resp) return requeueAfterReconcile, r.httpPatchPatroni(log, ctx, instance, leaderIP) } } else { if resp.SynchronousNodesAdditional != nil { - log.V(debugLogLevel).Info("synchronous_nodes_additional mistmatch, updating and requeing", "response", resp) + log.V(debugLogLevel).Info("synchronous_nodes_additional mismatch, updating and requeing", "response", resp) return requeueAfterReconcile, r.httpPatchPatroni(log, ctx, instance, leaderIP) } } @@ -1083,7 +1083,7 @@ func (r *PostgresReconciler) checkAndUpdatePatroniReplicationConfig(log logr.Log return requeueAfterReconcile, r.httpPatchPatroni(log, ctx, instance, leaderIP) } if resp.SynchronousNodesAdditional != nil { - log.V(debugLogLevel).Info("synchronous_nodes_additional mistmatch, updating and requeing", "response", resp) + log.V(debugLogLevel).Info("synchronous_nodes_additional mismatch, updating and requeing", "response", resp) return requeueAfterReconcile, r.httpPatchPatroni(log, ctx, instance, leaderIP) } if resp.StandbyCluster.CreateReplicaMethods == nil {