Skip to content

Commit

Permalink
Fix typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
albertusdev committed Aug 9, 2019
1 parent 03ebbb3 commit 6f4f209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/storage/aws/cloudfront/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
// Option represents the Cloudfront storage options
type Option func(s *Storage)

// WithCloudfrontHost sets the cloudfront host, can ends up with trailing slash or not
// WithCloudfrontHost sets the cloudfront host, can end with trailing slash or not
func WithCloudfrontHost(host string) Option {
return func(s *Storage) {
s.cloudfrontHost = host
Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/aws/cloudfront/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// Storage holds the fields used by cloudfront storage implementation
type Storage struct {
cloudfrontHost string // can ends with trailing slash or not (example: "localhost:8000", "localhost:8000/")
cloudfrontHost string // can end with trailing slash or not (example: "localhost:8000", "localhost:8000/")
client heimdall.Client
secureProtocol bool
}
Expand Down

0 comments on commit 6f4f209

Please sign in to comment.