We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c9da2 commit feb6772Copy full SHA for feb6772
pkg/flypg/node.go
@@ -110,7 +110,7 @@ func (n *Node) Init() error {
110
}
111
112
// Writes or updates the replication manager configuration.
113
- if err := configureRepmgr(*n); err != nil {
+ if err := initializeRepmgr(*n); err != nil {
114
fmt.Printf("Failed to initialize replmgr: %s\n", err.Error())
115
116
pkg/flypg/repmgr.go
@@ -13,7 +13,7 @@ const (
13
standbyRoleName = "standby"
14
)
15
16
-func configureRepmgr(node Node) error {
+func initializeRepmgr(node Node) error {
17
// Write conf file.
18
if err := writeManagerConf(node); err != nil {
19
return fmt.Errorf("failed to write repmgr config file: %s", err)
0 commit comments