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

Normalize host and path in cloudfront storage get #23

Merged
merged 2 commits into from Aug 9, 2019

Conversation

albertusdev
Copy link
Contributor

No description provided.

@albertusdev albertusdev added the enhancement New feature or request label Aug 9, 2019
@albertusdev albertusdev self-assigned this Aug 9, 2019
Copy link
Member

@ajatprabha ajatprabha left a comment

Choose a reason for hiding this comment

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

LGTM, left comment for a typo.

@@ -7,7 +7,7 @@ import (
// Option represents the Cloudfront storage options
type Option func(s *Storage)

// WithCloudfrontHost sets the cloudfront URL
// WithCloudfrontHost sets the cloudfront host, can ends up with trailing slash or not
Copy link
Member

Choose a reason for hiding this comment

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

Should be ... can end up ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol you are right, thanks for the correction

@@ -12,15 +12,15 @@ import (

// Storage holds the fields used by cloudfront storage implementation
type Storage struct {
cloudfrontHost string
cloudfrontHost string // can ends with trailing slash or not (example: "localhost:8000", "localhost:8000/")
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cool

Copy link
Member

@baskarap baskarap left a comment

Choose a reason for hiding this comment

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

LGTM

@albertusdev albertusdev merged commit a60a642 into gojek:master Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants