Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3.go: Added options to use paths with S3 and the ability to disable SSL #3730

Merged
merged 4 commits into from
Jan 3, 2018
Merged

s3.go: Added options to use paths with S3 and the ability to disable SSL #3730

merged 4 commits into from
Jan 3, 2018

Conversation

jpds
Copy link
Contributor

@jpds jpds commented Dec 22, 2017

Fixes #3728.

@@ -72,6 +72,22 @@ func NewS3Backend(conf map[string]string, logger log.Logger) (physical.Backend,
}
}
}
s3ForceStylePathStr, ok := conf["s3_force_style_path"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change this and the following value to s3ForcePathStyle, which matches the actual parameter (PathStyle instead of StylePath).

if !ok {
s3ForceStylePathStr = "false"
}
s3ForceStylePathBool, err := strconv.ParseBool(s3ForceStylePathStr)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use parseutil.ParseBool instead.

@jefferai
Copy link
Member

jefferai commented Jan 3, 2018

Thanks!

@jefferai jefferai added this to the 0.9.2 milestone Jan 3, 2018
@jefferai jefferai merged commit f57329a into hashicorp:master Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants