Do not use sigv2 with s3fs

This commit is contained in:
Cyrill Troxler 2019-05-15 19:59:18 +02:00
parent cc38b81678
commit 76fc704c31

View file

@ -41,7 +41,6 @@ func (s3fs *s3fsMounter) Mount(source string, target string) error {
args := []string{ args := []string{
fmt.Sprintf("%s:/%s", s3fs.bucket.Name, s3fs.bucket.FSPath), fmt.Sprintf("%s:/%s", s3fs.bucket.Name, s3fs.bucket.FSPath),
fmt.Sprintf("%s", target), fmt.Sprintf("%s", target),
"-o", "sigv2",
"-o", "use_path_request_style", "-o", "use_path_request_style",
"-o", fmt.Sprintf("url=%s", s3fs.url), "-o", fmt.Sprintf("url=%s", s3fs.url),
"-o", fmt.Sprintf("endpoint=%s", s3fs.region), "-o", fmt.Sprintf("endpoint=%s", s3fs.region),