Skip to content

Commit

Permalink
Fix unconnected state set in verbose loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lefranc committed Mar 15, 2016
1 parent a49c78d commit 0906cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 0906cb0

Please sign in to comment.