Moving filesstore services into shared folder (#16940)
* Moving filesstore services into shared folder * Fixing app-layers generation * Renaming from filesstore to filestore
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5f9ab3783a
Коммит
78355ae2a7
@@ -23,8 +23,8 @@ import (
|
||||
"github.com/mattermost/mattermost-server/v5/mlog"
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
"github.com/mattermost/mattermost-server/v5/plugin"
|
||||
"github.com/mattermost/mattermost-server/v5/services/filesstore"
|
||||
"github.com/mattermost/mattermost-server/v5/services/marketplace"
|
||||
"github.com/mattermost/mattermost-server/v5/shared/filestore"
|
||||
"github.com/mattermost/mattermost-server/v5/utils/fileutils"
|
||||
)
|
||||
|
||||
@@ -273,7 +273,7 @@ func (a *App) SyncPlugins() *model.AppError {
|
||||
}
|
||||
defer reader.Close()
|
||||
|
||||
var signature filesstore.ReadCloseSeeker
|
||||
var signature filestore.ReadCloseSeeker
|
||||
if *a.Config().PluginSettings.RequirePluginSignature {
|
||||
signature, appErr = a.FileReader(plugin.signaturePath)
|
||||
if appErr != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user