Implement old storage.Path API
This commit is contained in:
parent
164e071e7f
commit
360bed00f9
11 changed files with 44 additions and 39 deletions
|
@ -22,7 +22,7 @@ func TestMain(m *testing.M) {
|
|||
log.Fatal(err)
|
||||
}
|
||||
|
||||
storage.Initialize(tempdir)
|
||||
storage.Initialize(tempdir, "", "")
|
||||
|
||||
db, err := boltdb.New(storage.Path.Database())
|
||||
if err != nil {
|
||||
|
|
|
@ -147,7 +147,7 @@ func (d *Dispatch) startHTTP() {
|
|||
PortHTTPS: cfg.HTTPS.Port,
|
||||
HTTPOnly: !cfg.HTTPS.Enabled,
|
||||
|
||||
StoragePath: storage.ConfigPath.LetsEncrypt(),
|
||||
StoragePath: storage.Path.LetsEncrypt(),
|
||||
Domain: cfg.LetsEncrypt.Domain,
|
||||
Email: cfg.LetsEncrypt.Email,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue