Fix typo.

This commit is contained in:
Mariano Cano 2019-05-10 16:04:30 -07:00
parent 3a1a4c5ea9
commit fb6a1afd89

View file

@ -69,7 +69,7 @@ func (a *Authority) init() error {
}
var err error
// Initialize step-ca Database if it's not already initialize with WithDB.
// Initialize step-ca Database if it's not already initialized with WithDB.
// If a.config.DB is nil then a simple, barebones in memory DB will be used.
if a.db == nil {
if a.db, err = db.New(a.config.DB); err != nil {