mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Adds 'gcs not ready for production' msg (#4604)
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user