Skip to content

Commit e12f788

Browse files
committed
Fix output
1 parent 4884de2 commit e12f788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/flypg/zombie.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func TakeDNASample(ctx context.Context, node *Node, standbys []Member) (*DNASamp
8989
// Check for connectivity
9090
mConn, err := node.RepMgr.NewRemoteConnection(ctx, standby.Hostname)
9191
if err != nil {
92-
fmt.Printf("failed to connect to %s", standby.Hostname)
92+
fmt.Printf("failed to connect to %s\n", standby.Hostname)
9393
sample.totalInactive++
9494
continue
9595
}
@@ -98,7 +98,7 @@ func TakeDNASample(ctx context.Context, node *Node, standbys []Member) (*DNASamp
9898
// Verify the primary
9999
primary, err := node.RepMgr.PrimaryMember(ctx, mConn)
100100
if err != nil {
101-
fmt.Printf("failed to resolve primary from standby %s", standby.Hostname)
101+
fmt.Printf("failed to resolve primary from standby %s\n", standby.Hostname)
102102
sample.totalInactive++
103103
continue
104104
}

0 commit comments

Comments
 (0)