Skip to content

Commit

Permalink
fix(backend): set default value to true for ForcePathStyle (#11281)
Browse files Browse the repository at this point in the history
Signed-off-by: zazulam <[email protected]>
  • Loading branch information
zazulam authored Oct 9, 2024
1 parent c27df6f commit 391de8c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/src/v2/objectstore/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ package objectstore
import (
"encoding/json"
"fmt"
"github.com/golang/glog"
"os"
"path"
"regexp"
"strconv"
"strings"

"github.com/golang/glog"
)

// The endpoint uses Kubernetes service DNS name with namespace:
Expand Down Expand Up @@ -228,6 +229,8 @@ func StructuredS3Params(p map[string]string) (*S3Params, error) {
return nil, err
}
sparams.ForcePathStyle = boolVal
} else {
sparams.ForcePathStyle = true
}
return sparams, nil
}
Expand Down

0 comments on commit 391de8c

Please sign in to comment.