feat(azure): added the missing func argument

This commit is contained in:
Alexander 2025-01-28 11:47:28 +01:00
parent bced0611ea
commit 14d64256a9

View file

@ -50,7 +50,7 @@ func NewStorage(cfg *config.ObjectsConfig) (objectstorage.ObjectStorage, error)
}, nil
}
func (s *storageImpl) Upload(reader io.Reader, key string, contentType string, compression objectstorage.CompressionType) error {
func (s *storageImpl) Upload(reader io.Reader, key string, contentType, contentEncoding string, compression objectstorage.CompressionType) error {
cacheControl := "max-age=2628000, immutable, private"
var encoding *string
switch compression {