Run goimports (#8251)

This commit is contained in:
Jim Kalafut
2020-01-27 21:11:00 -08:00
committed by GitHub
parent 443404ee01
commit 060775d9e9
6 changed files with 8 additions and 10 deletions

View File

@@ -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