storagedriver/s3: Reverting unintentional change.

This commit is contained in:
Collin Shoop 2021-06-28 16:53:33 -04:00
parent 05a2d10b76
commit 9a4da20cf1

View File

@ -108,7 +108,7 @@ func init() {
// Skip S3 storage driver tests if environment variable parameters are not provided
skipS3 = func() string {
if accessKey == "" || secretKey == "" || bucket == "" || encrypt == "" {
if accessKey == "" || secretKey == "" || region == "" || bucket == "" || encrypt == "" {
return "Must set AWS_ACCESS_KEY, AWS_SECRET_KEY, AWS_REGION, S3_BUCKET, and S3_ENCRYPT to run S3 tests"
}
return ""