From 879a8da9a36eefc1c52c79dcdca500df12a05687 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Fri, 4 Oct 2024 12:57:25 -0700 Subject: [PATCH] always include a region --- pkg/pipeline/sink/uploader/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pipeline/sink/uploader/s3.go b/pkg/pipeline/sink/uploader/s3.go index 973ef8a4..afbacc08 100644 --- a/pkg/pipeline/sink/uploader/s3.go +++ b/pkg/pipeline/sink/uploader/s3.go @@ -53,7 +53,7 @@ func newS3Uploader(conf *config.EgressS3Upload) (uploader, error) { opts := func(o *awsConfig.LoadOptions) error { if conf.Region != "" { o.Region = conf.Region - } else if conf.Endpoint == "" { + } else { o.Region = defaultBucketLocation }