mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
move credentials as separate package (#5115)
This commit is contained in:
+2
-1
@@ -31,6 +31,7 @@ import (
|
||||
b2 "github.com/minio/blazer/base"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/minio-go/pkg/policy"
|
||||
"github.com/minio/minio/pkg/auth"
|
||||
h2 "github.com/minio/minio/pkg/hash"
|
||||
)
|
||||
|
||||
@@ -101,7 +102,7 @@ func (g *B2Gateway) NewGatewayLayer() (GatewayLayer, error) {
|
||||
type b2Objects struct {
|
||||
gatewayUnsupported
|
||||
mu sync.Mutex
|
||||
creds credential
|
||||
creds auth.Credentials
|
||||
b2Client *b2.B2
|
||||
anonClient *http.Client
|
||||
ctx context.Context
|
||||
|
||||
Reference in New Issue
Block a user