Enable s3,gcs,manta,oss,b2 gateways as production ready (#5795)

master
Harshavardhana 7 years ago committed by GitHub
parent 1d31ad499f
commit 41c31d10ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      cmd/gateway/b2/gateway-b2.go
  2. 4
      cmd/gateway/gcs/gateway-gcs.go
  3. 4
      cmd/gateway/manta/gateway-manta.go
  4. 4
      cmd/gateway/oss/gateway-oss.go
  5. 4
      cmd/gateway/s3/gateway-s3.go

@ -126,10 +126,9 @@ func (g *B2) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)
}, nil
}
// Production - Ready for production use?
// Production - Ready for production use.
func (g *B2) Production() bool {
// Not ready for production use just yet.
return false
return true
}
// b2Object implements gateway for Minio and BackBlaze B2 compatible object storage servers.

@ -210,9 +210,9 @@ func (g *GCS) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)
return gcs, nil
}
// Production - FIXME: GCS is not production ready yet.
// Production - GCS gateway is production ready.
func (g *GCS) Production() bool {
return false
return true
}
// Stored in gcs.json - Contents of this file is not used anywhere. It can be

@ -225,9 +225,9 @@ func (g *Manta) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, erro
}, nil
}
// Production - Manta is not production ready.
// Production - Manta is production ready.
func (g *Manta) Production() bool {
return false
return true
}
// tritonObjects - Implements Object layer for Triton Manta storage

@ -149,9 +149,9 @@ func (g *OSS) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)
}, nil
}
// Production - oss is not production ready yet.
// Production - oss is production ready.
func (g *OSS) Production() bool {
return false
return true
}
// appendS3MetaToOSSOptions converts metadata meant for S3 PUT/COPY

@ -147,9 +147,9 @@ func (g *S3) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)
}, nil
}
// Production - s3 gateway is not production ready.
// Production - s3 gateway is production ready.
func (g *S3) Production() bool {
return false
return true
}
// s3Objects implements gateway for Minio and S3 compatible object storage servers.

Loading…
Cancel
Save