Fixing enterprise init order. (#9912)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6d9b4bc277
Коммит
acd2deaca3
@@ -111,9 +111,6 @@ func (s *Server) initEnterprise() {
|
|||||||
if accountMigrationInterface != nil {
|
if accountMigrationInterface != nil {
|
||||||
s.AccountMigration = accountMigrationInterface(s.FakeApp())
|
s.AccountMigration = accountMigrationInterface(s.FakeApp())
|
||||||
}
|
}
|
||||||
if clusterInterface != nil {
|
|
||||||
s.Cluster = clusterInterface(s.FakeApp())
|
|
||||||
}
|
|
||||||
if complianceInterface != nil {
|
if complianceInterface != nil {
|
||||||
s.Compliance = complianceInterface(s.FakeApp())
|
s.Compliance = complianceInterface(s.FakeApp())
|
||||||
}
|
}
|
||||||
@@ -146,4 +143,7 @@ func (s *Server) initEnterprise() {
|
|||||||
if dataRetentionInterface != nil {
|
if dataRetentionInterface != nil {
|
||||||
s.DataRetention = dataRetentionInterface(s.FakeApp())
|
s.DataRetention = dataRetentionInterface(s.FakeApp())
|
||||||
}
|
}
|
||||||
|
if clusterInterface != nil {
|
||||||
|
s.Cluster = clusterInterface(s.FakeApp())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user