mirror of
https://github.com/minio/minio.git
synced 2025-11-23 02:57:42 -05:00
Move gateway unsupported functions into a common struct. (#5009)
This is done to avoid repeated declaration of not-implemented functions for each gateway. It also avoids a possible bug in go https://github.com/golang/go/issues/18468 which is triggered on our multiple PRs already.
This commit is contained in:
@@ -239,6 +239,7 @@ func checkGCSProjectID(ctx context.Context, projectID string) error {
|
||||
|
||||
// gcsGateway - Implements gateway for Minio and GCS compatible object storage servers.
|
||||
type gcsGateway struct {
|
||||
gatewayUnsupported
|
||||
client *storage.Client
|
||||
anonClient *minio.Core
|
||||
projectID string
|
||||
|
||||
Reference in New Issue
Block a user