forked from TrueCloudLab/frostfs-node
[#302] Fix golint else/return linter errors
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
0f3570bdeb
commit
e88c1f750d
9 changed files with 57 additions and 52 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue