[#323] client: Replace writeToMetaHeader method with function

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-08-23 20:55:00 +03:00 committed by fyrchik
parent 8c5333ea55
commit a926e5a1de
6 changed files with 8 additions and 21 deletions

View file

@ -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.