pgdog.git / summary / log / commit / refs
commit 691e6a9f9029915dfdfd75cd04087a8a2a4248e3
Author: Lev Kokotov <lev.kokotov@gmail.com>
Date: Mon Mar 24 15:33:34 2025 +0000
Correct warning
pgdog/src/config/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pgdog/src/config/mod.rs b/pgdog/src/config/mod.rs
index 2148f1d9..2cc597cd 100644
--- a/pgdog/src/config/mod.rs
+++ b/pgdog/src/config/mod.rs
@@ -207,7 +207,7 @@ impl Config {
let new = duplicate_primaries.insert(id);
if !new {
warn!(
- "database \"{}\" (shard={}) has more than one primary, only the last one will be used",
+ "database \"{}\" (shard={}) has more than one primary, only the first one will be used",
database.name, database.shard,
);
}
[parent: 7a87ca4e4da5]