From 6f4f2099180c255b63ff91b25965ad922a9e056e Mon Sep 17 00:00:00 2001 From: Albertus Angga Raharja Date: Fri, 9 Aug 2019 16:55:27 +0700 Subject: [PATCH] Fix typo in comments --- pkg/storage/aws/cloudfront/options.go | 2 +- pkg/storage/aws/cloudfront/storage.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/storage/aws/cloudfront/options.go b/pkg/storage/aws/cloudfront/options.go index 64da9dc..0d48e29 100644 --- a/pkg/storage/aws/cloudfront/options.go +++ b/pkg/storage/aws/cloudfront/options.go @@ -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 diff --git a/pkg/storage/aws/cloudfront/storage.go b/pkg/storage/aws/cloudfront/storage.go index 99a4fa1..c2b15b4 100644 --- a/pkg/storage/aws/cloudfront/storage.go +++ b/pkg/storage/aws/cloudfront/storage.go @@ -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 }