forked from TrueCloudLab/frostfs-node
[#772] node: Apply gofumpt
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
00aa6d9749
commit
79088baa06
136 changed files with 293 additions and 239 deletions
|
@ -201,7 +201,8 @@ func (s *Service) getPutSinglePlacementOptions(obj *objectSDK.Object, copiesNumb
|
|||
}
|
||||
|
||||
func (s *Service) saveToPlacementNode(ctx context.Context, nodeDesc *nodeDesc, obj *objectSDK.Object,
|
||||
signer *putSingleRequestSigner, meta object.ContentMeta) error {
|
||||
signer *putSingleRequestSigner, meta object.ContentMeta,
|
||||
) error {
|
||||
if nodeDesc.local {
|
||||
return s.saveLocal(ctx, obj, meta)
|
||||
}
|
||||
|
@ -229,7 +230,8 @@ func (s *Service) redirectPutSingleRequest(ctx context.Context,
|
|||
signer *putSingleRequestSigner,
|
||||
obj *objectSDK.Object,
|
||||
info client.NodeInfo,
|
||||
c client.MultiAddressClient) error {
|
||||
c client.MultiAddressClient,
|
||||
) error {
|
||||
ctx, span := tracing.StartSpanFromContext(ctx, "putService.redirectPutSingleRequest")
|
||||
defer span.End()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue