[MM-54929] Revert "Remove unnecessary mmctl enterprise deps (#24395)" (#25063)

* Revert "Remove unnecessary mmctl enterprise deps (#24395)"

This reverts commit 32512d35fb.

* Add comment
Этот коммит содержится в:
Ben Schumacher
2023-10-24 10:51:38 +02:00
коммит произвёл GitHub
родитель f8e8eca985
Коммит 22c9c80cd2
3 изменённых файлов: 193 добавлений и 3 удалений

28
server/cmd/mmctl/commands/enterprise.go Обычный файл
Просмотреть файл

@@ -0,0 +1,28 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
//go:build enterprise
// +build enterprise
// This file is needed to ensure the enterprise code get complied
// when running tests. See https://mattermost.atlassian.net/browse/MM-54929
// for more details.
package commands
import (
// Enterprise Deps
_ "github.com/gorilla/handlers"
_ "github.com/hako/durafmt"
_ "github.com/hashicorp/memberlist"
_ "github.com/mattermost/gosaml2"
_ "github.com/mattermost/ldap"
_ "github.com/mattermost/mattermost/server/v8/channels/imports"
_ "github.com/mattermost/mattermost/server/v8/channels/utils/testutils"
_ "github.com/mattermost/rsc/qr"
_ "github.com/prometheus/client_golang/prometheus"
_ "github.com/prometheus/client_golang/prometheus/collectors"
_ "github.com/prometheus/client_golang/prometheus/promhttp"
_ "github.com/tylerb/graceful"
_ "gopkg.in/olivere/elastic.v6"
)