mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-15 11:57:59 +00:00
another lint fix + timeout
This commit is contained in:
committed by
André Roth
parent
46e9ac65fa
commit
b0c65112cb
+1
-1
@@ -146,7 +146,7 @@ func (g *PublishedStorage) putFile(path string, source io.Reader, sourceMD5 stri
|
||||
writer := obj.NewWriter(context.TODO())
|
||||
|
||||
if g.storageClass != "" {
|
||||
writer.ObjectAttrs.StorageClass = g.storageClass
|
||||
writer.StorageClass = g.storageClass
|
||||
}
|
||||
if sourceMD5 != "" {
|
||||
writer.Metadata = map[string]string{"Md5": sourceMD5}
|
||||
|
||||
Reference in New Issue
Block a user