From 9a4da20cf1480455ca25c7e615f5c7046fc22620 Mon Sep 17 00:00:00 2001 From: Collin Shoop Date: Mon, 28 Jun 2021 16:53:33 -0400 Subject: [PATCH] storagedriver/s3: Reverting unintentional change. --- registry/storage/driver/s3-aws/s3_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/storage/driver/s3-aws/s3_test.go b/registry/storage/driver/s3-aws/s3_test.go index a1347c472..aea26658e 100644 --- a/registry/storage/driver/s3-aws/s3_test.go +++ b/registry/storage/driver/s3-aws/s3_test.go @@ -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 ""