mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Run goimports (#8251)
This commit is contained in:
@@ -170,7 +170,7 @@ func (c *mongoDBConnectionProducer) Close() error {
|
||||
defer c.Unlock()
|
||||
|
||||
if c.client != nil {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 1 * time.Minute)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Minute)
|
||||
defer cancel()
|
||||
if err := c.client.Disconnect(ctx); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user