forked from TrueCloudLab/frostfs-sdk-go
[#323] client: Replace writeToMetaHeader
method with function
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
8c5333ea55
commit
a926e5a1de
6 changed files with 8 additions and 21 deletions
|
@ -97,7 +97,7 @@ func (x *ObjectWriter) WithXHeaders(hs ...string) {
|
|||
panic("slice of X-Headers with odd length")
|
||||
}
|
||||
|
||||
prmCommonMeta{xHeaders: hs}.writeToMetaHeader(&x.metaHdr)
|
||||
writeXHeadersToMeta(hs, &x.metaHdr)
|
||||
}
|
||||
|
||||
// WriteHeader writes header of the object. Result means success.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue