[arvados] updated: 2.1.0-2957-g5c0d99ac1

git repository hosting git at public.arvados.org
Mon Oct 17 19:35:43 UTC 2022


Summary of changes:
 services/keepstore/s3aws_volume.go | 2 ++
 1 file changed, 2 insertions(+)

       via  5c0d99ac1c8371910676b6375282a4fcfb5d213d (commit)
      from  451fd7eccd17e07555b3544d8ed1dc85f5d67875 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5c0d99ac1c8371910676b6375282a4fcfb5d213d
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Mon Oct 17 16:34:11 2022 -0300

    19582: Really sets the default UseAWSS3v2Driver value to 'true'.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/services/keepstore/s3aws_volume.go b/services/keepstore/s3aws_volume.go
index 6205da5be..f7cff6d33 100644
--- a/services/keepstore/s3aws_volume.go
+++ b/services/keepstore/s3aws_volume.go
@@ -62,6 +62,8 @@ type s3AWSbucket struct {
 // aws-sdk-go based on the UseAWSS3v2Driver feature flag
 func chooseS3VolumeDriver(cluster *arvados.Cluster, volume arvados.Volume, logger logrus.FieldLogger, metrics *volumeMetricsVecs) (Volume, error) {
 	v := &S3Volume{cluster: cluster, volume: volume, metrics: metrics}
+	// Default value will be overriden if it happens to be defined in the config
+	v.S3VolumeDriverParameters.UseAWSS3v2Driver = true
 	err := json.Unmarshal(volume.DriverParameters, v)
 	if err != nil {
 		return nil, err

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list