forked from TrueCloudLab/frostfs-node
[#1523] blobstor: Rename compression.CConfig
to Config
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
0042c1d4a6
commit
e8c6dce466
12 changed files with 34 additions and 34 deletions
|
@ -54,5 +54,5 @@ func (b *BlobStor) Put(prm common.PutPrm) (common.PutRes, error) {
|
|||
// 1. Compression is enabled in settings.
|
||||
// 2. Object MIME Content-Type is allowed for compression.
|
||||
func (b *BlobStor) NeedsCompression(obj *objectSDK.Object) bool {
|
||||
return b.cfg.CConfig.NeedsCompression(obj)
|
||||
return b.cfg.compression.NeedsCompression(obj)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue