summaryrefslogtreecommitdiffstats
path: root/app/plugin.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2018-06-04 12:34:47 -0400
committerGitHub <noreply@github.com>2018-06-04 12:34:47 -0400
commitbd7c9f86424a8d6609ad602e2225c4438d136415 (patch)
tree15c163ec432ceaa728cd9591a57161398801674b /app/plugin.go
parent312edbe5315e97dc25857fc2590266734056af70 (diff)
downloadchat-bd7c9f86424a8d6609ad602e2225c4438d136415.tar.gz
chat-bd7c9f86424a8d6609ad602e2225c4438d136415.tar.bz2
chat-bd7c9f86424a8d6609ad602e2225c4438d136415.zip
Remove plugin sandbox warning message (#8897)
Diffstat (limited to 'app/plugin.go')
-rw-r--r--app/plugin.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/plugin.go b/app/plugin.go
index f6cb6bdda..dda09596a 100644
--- a/app/plugin.go
+++ b/app/plugin.go
@@ -566,12 +566,7 @@ func (a *App) InitPlugins(pluginPath, webappPath string, supervisorOverride plug
}),
}
- if err := sandbox.CheckSupport(); err != nil {
- a.IsPluginSandboxSupported = false
- mlog.Warn("plugin sandboxing is not supported. plugins will run with the same access level as the server. See documentation to learn more: https://developers.mattermost.com/extend/plugins/security/", mlog.Err(err))
- } else {
- a.IsPluginSandboxSupported = true
- }
+ a.IsPluginSandboxSupported = sandbox.CheckSupport() == nil
if supervisorOverride != nil {
options = append(options, pluginenv.SupervisorProvider(supervisorOverride))