-
Notifications
You must be signed in to change notification settings - Fork 41
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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 ...
There was a problem hiding this comment.
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/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.