mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -170,7 +170,6 @@ func (sys *IAMSys) initStore(objAPI ObjectLayer, etcdClient *etcd.Client) {
|
||||
} else {
|
||||
sys.store = &IAMStoreSys{newIAMEtcdStore(etcdClient, sys.usersSysType)}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Initialized checks if IAM is initialized
|
||||
@@ -801,9 +800,7 @@ func (sys *IAMSys) NewServiceAccount(ctx context.Context, parentUser string, gro
|
||||
}
|
||||
}
|
||||
|
||||
var (
|
||||
cred auth.Credentials
|
||||
)
|
||||
var cred auth.Credentials
|
||||
|
||||
var err error
|
||||
if len(opts.accessKey) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user