mirror of
https://github.com/owncloud/ocis
synced 2026-04-25 17:25:21 +02:00
Remove Staticcheck warnings (#5394)
* remove deprecated ioutil imports Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * remove duplicate imports Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * remove unused values Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * remove some unused types Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * remove deprecated ioutil import Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
committed by
GitHub
parent
544189b039
commit
3aa864aecc
@@ -189,7 +189,7 @@ func (c *cs3backend) CreateUserFromClaims(ctx context.Context, claims map[string
|
||||
if reread {
|
||||
c.logger.Debug().Msg("User already exist, re-reading via libregraph")
|
||||
gureq := lgClient.UserApi.GetUser(newctx, newUser.GetOnPremisesSamAccountName())
|
||||
created, resp, err = gureq.Execute()
|
||||
created, _, err = gureq.Execute()
|
||||
if err != nil {
|
||||
c.logger.Error().Err(err).Msg("Error trying to re-read user from graphAPI")
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user