fix: fix broken build (#4150)

This commit is contained in:
Milos Gajdos 2023-11-03 16:30:34 +00:00 committed by GitHub
commit 28c8bc6c0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 1 deletions

View file

@ -94,7 +94,7 @@ func init() {
maxConcurrency: 8, maxConcurrency: 8,
} }
return New(parameters) return New(context.Background(), parameters)
} }
testsuites.RegisterSuite(func() (storagedriver.StorageDriver, error) { testsuites.RegisterSuite(func() (storagedriver.StorageDriver, error) {

View file

@ -1,6 +1,7 @@
package middleware package middleware
import ( import (
"context"
"crypto/rand" "crypto/rand"
"encoding/json" "encoding/json"
"fmt" "fmt"

View file

@ -1,6 +1,7 @@
package middleware package middleware
import ( import (
"context"
"fmt" "fmt"
"net/http" "net/http"
"net/url" "net/url"

View file

@ -1,6 +1,7 @@
package middleware package middleware
import ( import (
"context"
"testing" "testing"
"gopkg.in/check.v1" "gopkg.in/check.v1"

View file

@ -2,6 +2,7 @@ package s3
import ( import (
"bytes" "bytes"
"context"
"crypto/rand" "crypto/rand"
"errors" "errors"
"fmt" "fmt"