mirror of
https://github.com/minio/minio.git
synced 2025-04-11 06:57:49 -04:00
Adds 'gcs not ready for production' msg (#4604)
This commit is contained in:
parent
a86dc8a4c5
commit
0e5b9c7fe4
@ -181,6 +181,9 @@ func newGatewayLayer(backendType gatewayBackend, arg string) (GatewayLayer, erro
|
|||||||
case s3Backend:
|
case s3Backend:
|
||||||
return newS3Gateway(arg)
|
return newS3Gateway(arg)
|
||||||
case gcsBackend:
|
case gcsBackend:
|
||||||
|
// FIXME: The following print command is temporary and
|
||||||
|
// will be removed when gcs is ready for production use.
|
||||||
|
log.Println(colorYellow("\n *** Warning: Not Ready for Production ***"))
|
||||||
return newGCSGateway(arg)
|
return newGCSGateway(arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,8 +137,9 @@ var (
|
|||||||
|
|
||||||
// global colors.
|
// global colors.
|
||||||
var (
|
var (
|
||||||
colorBold = color.New(color.Bold).SprintFunc()
|
colorBold = color.New(color.Bold).SprintFunc()
|
||||||
colorBlue = color.New(color.FgBlue).SprintfFunc()
|
colorBlue = color.New(color.FgBlue).SprintfFunc()
|
||||||
|
colorYellow = color.New(color.FgYellow).SprintfFunc()
|
||||||
)
|
)
|
||||||
|
|
||||||
// Returns minio global information, as a key value map.
|
// Returns minio global information, as a key value map.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user