Skip to content

Commit 02427f9

Browse files
authored
Target correct database when resolving role (#210)
1 parent f1c37a3 commit 02427f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/handle_admin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func handleRole(w http.ResponseWriter, r *http.Request) {
8484
return
8585
}
8686

87-
conn, err := localConnection(r.Context(), "postgres")
87+
conn, err := localConnection(r.Context(), "repmgr")
8888
if err != nil {
8989
renderErr(w, err)
9090
return

0 commit comments

Comments
 (0)