diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-09-20 19:07:03 +0200 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2018-09-20 10:07:03 -0700 |
commit | a08df883b4ddb514d53b518f41431ce7efb50d8f (patch) | |
tree | 9e16aeb09188f4aa34b268b77d78e7ebaa5a5978 /cmd/mattermost | |
parent | f1be975d7ab17a7da89ddb3cf6fea2c1b282a89e (diff) | |
download | chat-a08df883b4ddb514d53b518f41431ce7efb50d8f.tar.gz chat-a08df883b4ddb514d53b518f41431ce7efb50d8f.tar.bz2 chat-a08df883b4ddb514d53b518f41431ce7efb50d8f.zip |
Move file backend to its own service (#9435)
* Move file backend to its own service
* Moving utils/inbucket to mailservice package
Diffstat (limited to 'cmd/mattermost')
-rw-r--r-- | cmd/mattermost/commands/server.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mattermost/commands/server.go b/cmd/mattermost/commands/server.go index 95dc2f1c7..e996e6a2e 100644 --- a/cmd/mattermost/commands/server.go +++ b/cmd/mattermost/commands/server.go @@ -17,6 +17,7 @@ import ( "github.com/mattermost/mattermost-server/manualtesting" "github.com/mattermost/mattermost-server/mlog" "github.com/mattermost/mattermost-server/model" + "github.com/mattermost/mattermost-server/services/mailservice" "github.com/mattermost/mattermost-server/utils" "github.com/mattermost/mattermost-server/web" "github.com/mattermost/mattermost-server/wsapi" @@ -67,7 +68,7 @@ func runServer(configFileLocation string, disableConfigWatch bool, usedPlatform } defer a.Shutdown() - utils.TestConnection(a.Config()) + mailservice.TestConnection(a.Config()) pwd, _ := os.Getwd() if usedPlatform { |