Permanently enable ILM (#740)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
@@ -22,7 +22,6 @@ import (
|
||||
"github.com/minio/console/pkg/acl"
|
||||
"github.com/minio/console/restapi/operations"
|
||||
"github.com/minio/console/restapi/operations/user_api"
|
||||
"github.com/minio/minio/pkg/env"
|
||||
)
|
||||
|
||||
func registerSessionHandlers(api *operations.ConsoleAPI) {
|
||||
@@ -54,9 +53,5 @@ func getSessionResponse(session *models.Principal) (*models.SessionResponse, *mo
|
||||
// getListOfEnabledFeatures returns a list of features
|
||||
func getListOfEnabledFeatures() []string {
|
||||
var features []string
|
||||
ilm := env.IsSet("_CONSOLE_ILM_SUPPORT")
|
||||
if ilm {
|
||||
features = append(features, "ilm")
|
||||
}
|
||||
return features
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user