Skip to content

Commit

Permalink
fix another issue
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Dec 10, 2023
1 parent 6d42fa2 commit e43b782
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flow/cmd/peer_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ func (h *FlowRequestHandler) GetSlotInfo(
}, err
}

defer pgConnector.Close()

slotInfo, err := pgConnector.GetSlotInfo("")
if err != nil {
logrus.Errorf("Error getting slot info for peer %s: %v", req.PeerName, err)
Expand Down

0 comments on commit e43b782

Please sign in to comment.