PLT-2115 adding compliance interfaces
Этот коммит содержится в:
@@ -19,6 +19,7 @@ import (
|
||||
|
||||
l4g "github.com/alecthomas/log4go"
|
||||
"github.com/mattermost/platform/api"
|
||||
"github.com/mattermost/platform/einterfaces"
|
||||
"github.com/mattermost/platform/manualtesting"
|
||||
"github.com/mattermost/platform/model"
|
||||
"github.com/mattermost/platform/utils"
|
||||
@@ -91,6 +92,10 @@ func main() {
|
||||
setDiagnosticId()
|
||||
runSecurityAndDiagnosticsJobAndForget()
|
||||
|
||||
if einterfaces.GetComplianceInterface() != nil {
|
||||
einterfaces.GetComplianceInterface().StartComplianceJob()
|
||||
}
|
||||
|
||||
// wait for kill signal before attempting to gracefully shutdown
|
||||
// the running service
|
||||
c := make(chan os.Signal)
|
||||
|
||||
Ссылка в новой задаче
Block a user