refactor: Directory readability (#3665)

This commit is contained in:
Ryan Russell
2022-09-14 12:11:31 -05:00
committed by GitHub
parent d734fff322
commit d54eb9966f
7 changed files with 13 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ func (s3a *S3ApiServer) subscribeMetaEvents(clientName string, prefix string, la
//reload iam config
func (s3a *S3ApiServer) onIamConfigUpdate(dir, filename string, content []byte) error {
if dir == filer.IamConfigDirecotry && filename == filer.IamIdentityFile {
if dir == filer.IamConfigDirectory && filename == filer.IamIdentityFile {
if err := s3a.iam.LoadS3ApiConfigurationFromBytes(content); err != nil {
return err
}