add missing return
This commit is contained in:
		
							parent
							
								
									48a43c5188
								
							
						
					
					
						commit
						be8bf22c00
					
				|  | @ -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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue