another lint fix + timeout

This commit is contained in:
Pierig Le Saux
2026-04-26 21:40:52 -04:00
committed by André Roth
parent 46e9ac65fa
commit b0c65112cb
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,4 +1,6 @@
version: "2"
run:
timeout: 5m
linters:
settings:
staticcheck:
+1 -1
View File
@@ -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}