mirror of
https://github.com/minio/minio.git
synced 2025-03-31 01:33:41 -04:00
fix: print gateway banner on removal notice
This commit is contained in:
parent
cdab4a3b85
commit
d756da41b9
@ -31,6 +31,7 @@ import (
|
|||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/minio/cli"
|
"github.com/minio/cli"
|
||||||
"github.com/minio/madmin-go"
|
"github.com/minio/madmin-go"
|
||||||
|
"github.com/minio/minio/internal/color"
|
||||||
xhttp "github.com/minio/minio/internal/http"
|
xhttp "github.com/minio/minio/internal/http"
|
||||||
"github.com/minio/minio/internal/logger"
|
"github.com/minio/minio/internal/logger"
|
||||||
"github.com/minio/pkg/certs"
|
"github.com/minio/pkg/certs"
|
||||||
@ -375,5 +376,15 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
|||||||
logger.Info("======")
|
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
|
<-globalOSSignalCh
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user