From 0906cb04654a5ec7e71a7386cbb73261c3d8f77f Mon Sep 17 00:00:00 2001 From: Guillaume Lefranc Date: Tue, 15 Mar 2016 10:12:02 +0100 Subject: [PATCH] Fix unconnected state set in verbose loop --- repmgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr.go b/repmgr.go index e5a488aca..fcde55934 100644 --- a/repmgr.go +++ b/repmgr.go @@ -198,8 +198,8 @@ func main() { } else { if verbose { log.Printf("DEBUG: Server %s is not a slave. Setting aside", servers[k].URL) - servers[k].State = stateUnconn } + servers[k].State = stateUnconn } }