aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/auth_credentials.go
diff options
context:
space:
mode:
authorRyan Russell <ryanrussell@users.noreply.github.com>2022-09-14 12:11:31 -0500
committerGitHub <noreply@github.com>2022-09-14 10:11:31 -0700
commitd54eb9966f35f02eb25baecec000ec77c0587049 (patch)
treead384f0aaf4c0b8d26610f952478f37bb27fa54c /weed/s3api/auth_credentials.go
parentd734fff322b48485a1eb9461919d549ce65ce167 (diff)
downloadseaweedfs-d54eb9966f35f02eb25baecec000ec77c0587049.tar.xz
seaweedfs-d54eb9966f35f02eb25baecec000ec77c0587049.zip
refactor: `Directory` readability (#3665)
Diffstat (limited to 'weed/s3api/auth_credentials.go')
-rw-r--r--weed/s3api/auth_credentials.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.go
index b83eb16dd..a243d6222 100644
--- a/weed/s3api/auth_credentials.go
+++ b/weed/s3api/auth_credentials.go
@@ -85,7 +85,7 @@ func NewIdentityAccessManagement(option *S3ApiServerOption) *IdentityAccessManag
func (iam *IdentityAccessManagement) loadS3ApiConfigurationFromFiler(option *S3ApiServerOption) (err error) {
var content []byte
err = pb.WithFilerClient(false, option.Filer, option.GrpcDialOption, func(client filer_pb.SeaweedFilerClient) error {
- content, err = filer.ReadInsideFiler(client, filer.IamConfigDirecotry, filer.IamIdentityFile)
+ content, err = filer.ReadInsideFiler(client, filer.IamConfigDirectory, filer.IamIdentityFile)
return err
})
if err != nil {