2
0

Conn.Close takes context

This commit is contained in:
Jack Christensen
2019-04-10 14:56:14 -05:00
parent 2f948c5249
commit 3e87a8b363
6 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ func (rc *ReplicationConn) SendStandbyStatus(k *StandbyStatus) (err error) {
}
func (rc *ReplicationConn) Close() error {
return rc.c.Close()
return rc.c.Close(context.TODO())
}
func (rc *ReplicationConn) IsAlive() bool {