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

This commit is contained in:
Harshavardhana 2018-04-09 16:33:48 -07:00 committed by GitHub
parent 1d31ad499f
commit 41c31d10ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 11 deletions

View file

@ -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.

View file

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

View file

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

View file

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

View file

@ -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.