diff --git a/app/enterprise.go b/app/enterprise.go index c5b3073185..46c00f9c56 100644 --- a/app/enterprise.go +++ b/app/enterprise.go @@ -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()) + } }