Chore: Update internal/storage import paths

This commit is contained in:
Ralph Slooten
2023-09-25 19:25:45 +13:00
parent 009a7deaa1
commit 737cff5a96
11 changed files with 16 additions and 16 deletions

View File

@@ -9,9 +9,9 @@ import (
"github.com/axllent/mailpit/config"
"github.com/axllent/mailpit/internal/logger"
"github.com/axllent/mailpit/internal/storage"
"github.com/axllent/mailpit/server"
"github.com/axllent/mailpit/server/smtpd"
"github.com/axllent/mailpit/storage"
"github.com/spf13/cobra"
)
@@ -142,7 +142,7 @@ func init() {
// Load settings from environment
func initConfigFromEnv() {
// defaults from envars if provided
// inherit from environment if provided
if len(os.Getenv("MP_DATA_FILE")) > 0 {
config.DataFile = os.Getenv("MP_DATA_FILE")
}