Update to use new plugin ID for playbooks. (#18392)

Этот коммит содержится в:
Christopher Speller
2021-09-17 08:24:57 -07:00
коммит произвёл GitHub
родитель 237e4fd531
Коммит 2af7b2392b
4 изменённых файлов: 11 добавлений и 9 удалений

Просмотреть файл

@@ -2703,9 +2703,9 @@ func (s *PluginSettings) SetDefaults(ls LogSettings) {
s.PluginStates["com.mattermost.nps"] = &PluginState{Enable: ls.EnableDiagnostics == nil || *ls.EnableDiagnostics}
}
if s.PluginStates["com.mattermost.plugin-incident-management"] == nil && BuildEnterpriseReady == "true" {
// Enable the incident management plugin by default
s.PluginStates["com.mattermost.plugin-incident-management"] = &PluginState{Enable: true}
if s.PluginStates["playbooks"] == nil && BuildEnterpriseReady == "true" {
// Enable the playbooks plugin by default
s.PluginStates["playbooks"] = &PluginState{Enable: true}
}
if s.PluginStates["com.mattermost.plugin-channel-export"] == nil && BuildEnterpriseReady == "true" {