another lint fix + timeout

This commit is contained in:
Pierig Le Saux authored and André Roth committed 2026-06-17 23:39:27 +02:00
1 parent 46e9ac65fa
commit b0c65112cb
2 files changed
+3 -1

No files matched your search

+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}