diff --git a/cmd/gateway-main.go b/cmd/gateway-main.go index 4df077f50..a1b5b31e2 100644 --- a/cmd/gateway-main.go +++ b/cmd/gateway-main.go @@ -31,6 +31,7 @@ import ( "github.com/gorilla/mux" "github.com/minio/cli" "github.com/minio/madmin-go" + "github.com/minio/minio/internal/color" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/certs" @@ -375,5 +376,15 @@ func StartGateway(ctx *cli.Context, gw Gateway) { logger.Info("======") } + // TODO: remove the following line by June 1st. + logStartupMessage( + color.RedBold(` +=================================================================================== +**** WARNING: MinIO Gateway will be removed by June 1st from MinIO repository ***** + +Please read https://github.com/minio/minio/issues/14331 +=================================================================================== +`)) + <-globalOSSignalCh }