[#1418] engine: Do not use pointers as parameters

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-05-23 16:12:32 +03:00 committed by Pavel Karpy
parent 5f57db6bf8
commit 14366bbd89
5 changed files with 6 additions and 6 deletions

View file

@ -42,7 +42,7 @@ func (p *HeadPrm) WithRaw(raw bool) {
// Header returns the requested object header.
//
// Instance has empty payload.
func (r *HeadRes) Header() *objectSDK.Object {
func (r HeadRes) Header() *objectSDK.Object {
return r.head
}