mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 23:44:28 +02:00
Add missing return
This commit is contained in:
@@ -68,6 +68,8 @@ func (c *Cluster) closeDbConn() (err error) {
|
||||
c.logger.Errorf("could not close database connection: %v", err)
|
||||
}
|
||||
c.pgDb = nil
|
||||
|
||||
return nil
|
||||
}
|
||||
c.logger.Warning("attempted to close an empty db connection object")
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user