mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing enterprise init order. (#9912)
This commit is contained in:
committed by
GitHub
parent
6d9b4bc277
commit
acd2deaca3
@@ -111,9 +111,6 @@ func (s *Server) initEnterprise() {
|
||||
if accountMigrationInterface != nil {
|
||||
s.AccountMigration = accountMigrationInterface(s.FakeApp())
|
||||
}
|
||||
if clusterInterface != nil {
|
||||
s.Cluster = clusterInterface(s.FakeApp())
|
||||
}
|
||||
if complianceInterface != nil {
|
||||
s.Compliance = complianceInterface(s.FakeApp())
|
||||
}
|
||||
@@ -146,4 +143,7 @@ func (s *Server) initEnterprise() {
|
||||
if dataRetentionInterface != nil {
|
||||
s.DataRetention = dataRetentionInterface(s.FakeApp())
|
||||
}
|
||||
if clusterInterface != nil {
|
||||
s.Cluster = clusterInterface(s.FakeApp())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user