[#302] Fix golint else/return linter errors

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-01-11 18:21:06 +03:00 committed by Alex Vanin
parent 0f3570bdeb
commit e88c1f750d
9 changed files with 57 additions and 52 deletions

View file

@ -102,12 +102,12 @@ func (c *clientWrapper) getObject(exec *execCtx) (*objectSDK.Object, error) {
}
return payloadOnlyObject(data), nil
} else {
return c.client.GetObject(exec.context(),
exec.remotePrm(),
exec.callOptions()...,
)
}
return c.client.GetObject(exec.context(),
exec.remotePrm(),
exec.callOptions()...,
)
}
func (e *storageEngineWrapper) get(exec *execCtx) (*object.Object, error) {