Add a flag to tell plugins to verify the connection was successful

This commit is contained in:
Brian Kassouf
2017-04-10 15:36:59 -07:00
parent 64efc505c8
commit f54c4de98a
6 changed files with 25 additions and 23 deletions

View File

@@ -106,7 +106,7 @@ func (b *databaseBackend) getOrCreateDBObj(s logical.Storage, name string) (dbpl
return nil, err
}
err = db.Initialize(config.ConnectionDetails)
err = db.Initialize(config.ConnectionDetails, true)
if err != nil {
return nil, err
}