Merge pull request #622 from letsencrypt/fix-policy
Add stomped/forgotten PolicyDB config struct
This commit is contained in:
commit
d57759efa0
|
|
@ -159,7 +159,7 @@ func main() {
|
|||
blog.SetAuditLogger(auditlogger)
|
||||
|
||||
// Configure DB
|
||||
dbMap, err := sa.NewDbMap(c.Common.PolicyDB.Driver, c.Common.PolicyDB.Name)
|
||||
dbMap, err := sa.NewDbMap(c.PA.DBDriver, c.PA.DBConnect)
|
||||
cmd.FailOnError(err, "Could not connect to database")
|
||||
|
||||
dbMap.AddTableWithName(core.ExternalCert{}, "externalCerts").SetKeys(false, "SHA1")
|
||||
|
|
|
|||
|
|
@ -170,6 +170,11 @@ type Config struct {
|
|||
StatsdRate float32
|
||||
}
|
||||
|
||||
PA struct {
|
||||
DBDriver string
|
||||
DBConnect string
|
||||
}
|
||||
|
||||
Common struct {
|
||||
BaseURL string
|
||||
// Path to a PEM-encoded copy of the issuer certificate.
|
||||
|
|
|
|||
Loading…
Reference in New Issue