Skip to content

Commit

Permalink
Target correct database when resolving role (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
davissp14 authored Sep 22, 2023
1 parent f1c37a3 commit 02427f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/handle_admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func handleRole(w http.ResponseWriter, r *http.Request) {
return
}

conn, err := localConnection(r.Context(), "postgres")
conn, err := localConnection(r.Context(), "repmgr")
if err != nil {
renderErr(w, err)
return
Expand Down

0 comments on commit 02427f9

Please sign in to comment.