Skip to content

Commit feb6772

Browse files
committed
eh
1 parent b9c9da2 commit feb6772

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/flypg/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func (n *Node) Init() error {
110110
}
111111

112112
// Writes or updates the replication manager configuration.
113-
if err := configureRepmgr(*n); err != nil {
113+
if err := initializeRepmgr(*n); err != nil {
114114
fmt.Printf("Failed to initialize replmgr: %s\n", err.Error())
115115
}
116116

pkg/flypg/repmgr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const (
1313
standbyRoleName = "standby"
1414
)
1515

16-
func configureRepmgr(node Node) error {
16+
func initializeRepmgr(node Node) error {
1717
// Write conf file.
1818
if err := writeManagerConf(node); err != nil {
1919
return fmt.Errorf("failed to write repmgr config file: %s", err)

0 commit comments

Comments
 (0)