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

master
ebozduman 8 years ago committed by Dee Koder
parent a86dc8a4c5
commit 0e5b9c7fe4
  1. 3
      cmd/gateway-main.go
  2. 1
      cmd/globals.go

@ -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)
}

@ -139,6 +139,7 @@ var (
var (
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.

Loading…
Cancel
Save