From bd7c9f86424a8d6609ad602e2225c4438d136415 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 4 Jun 2018 12:34:47 -0400 Subject: Remove plugin sandbox warning message (#8897) --- app/plugin.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'app/plugin.go') 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)) -- cgit v1.2.3-1-g7c22