From e7d4925e9b343ac2d7a5e0abec30664dcb7d5e81 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 24 Feb 2021 10:42:50 -0500 Subject: [PATCH] spelling: length Signed-off-by: Josh Soref --- pkg/storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/storage.go b/pkg/storage/storage.go index cfc0d0deb..d836a412a 100644 --- a/pkg/storage/storage.go +++ b/pkg/storage/storage.go @@ -156,7 +156,7 @@ func (s *Storage) History(name string) ([]*rspb.Release, error) { return s.Driver.Query(map[string]string{"name": name, "owner": "helm"}) } -// removeLeastRecent removes items from history until the lengh number of releases +// removeLeastRecent removes items from history until the length number of releases // does not exceed max. // // We allow max to be set explicitly so that calling functions can "make space"