Adds 'gcs not ready for production' msg (#4604)

This commit is contained in:
ebozduman 2017-06-27 19:44:47 -07:00 committed by Dee Koder
parent a86dc8a4c5
commit 0e5b9c7fe4
2 changed files with 6 additions and 2 deletions

View File

@ -181,6 +181,9 @@ func newGatewayLayer(backendType gatewayBackend, arg string) (GatewayLayer, erro
case s3Backend:
return newS3Gateway(arg)
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)
}

View File

@ -137,8 +137,9 @@ var (
// global colors.
var (
colorBold = color.New(color.Bold).SprintFunc()
colorBlue = color.New(color.FgBlue).SprintfFunc()
colorBold = color.New(color.Bold).SprintFunc()
colorBlue = color.New(color.FgBlue).SprintfFunc()
colorYellow = color.New(color.FgYellow).SprintfFunc()
)
// Returns minio global information, as a key value map.