This commit is contained in:
Josh Soref
2018-03-20 14:54:10 -04:00
committed by Jeff Mitchell
parent f105461df5
commit e43b76ef97
157 changed files with 246 additions and 246 deletions

View File

@@ -88,7 +88,7 @@ func (c *mongoDBConnectionProducer) Initialize(ctx context.Context, conf map[str
return nil
}
// Connection creates or returns an exisitng a database connection. If the session fails
// Connection creates or returns an existing a database connection. If the session fails
// on a ping check, the session will be closed and then re-created.
func (c *mongoDBConnectionProducer) Connection(_ context.Context) (interface{}, error) {
if !c.Initialized {