From 9e18364fea6cc8a2cd97a2fa1b40650583b1eeff Mon Sep 17 00:00:00 2001
From: JoeWrightss <42261994+JoeWrightss@users.noreply.github.com>
Date: Fri, 1 Feb 2019 13:33:04 +0800
Subject: [PATCH] Fix some spelling errors in comment (#5246)

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
---
 pkg/repo/repotest/server.go   | 2 +-
 pkg/storage/driver/secrets.go | 2 +-
 pkg/tiller/release_list.go    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pkg/repo/repotest/server.go b/pkg/repo/repotest/server.go
index 36ab10d70..394294bcd 100644
--- a/pkg/repo/repotest/server.go
+++ b/pkg/repo/repotest/server.go
@@ -148,7 +148,7 @@ func (s *Server) URL() string {
 	return s.srv.URL
 }
 
-// LinkIndices links the index created with CreateIndex and makes a symboic link to the repositories/cache directory.
+// LinkIndices links the index created with CreateIndex and makes a symbolic link to the repositories/cache directory.
 //
 // This makes it possible to simulate a local cache of a repository.
 func (s *Server) LinkIndices() error {
diff --git a/pkg/storage/driver/secrets.go b/pkg/storage/driver/secrets.go
index b79a84272..606d7960b 100644
--- a/pkg/storage/driver/secrets.go
+++ b/pkg/storage/driver/secrets.go
@@ -45,7 +45,7 @@ type Secrets struct {
 	Log  func(string, ...interface{})
 }
 
-// NewSecrets initializes a new Secrets wrapping an implmenetation of
+// NewSecrets initializes a new Secrets wrapping an implementation of
 // the kubernetes SecretsInterface.
 func NewSecrets(impl corev1.SecretInterface) *Secrets {
 	return &Secrets{
diff --git a/pkg/tiller/release_list.go b/pkg/tiller/release_list.go
index 3299d3ef2..6d62c7bc4 100644
--- a/pkg/tiller/release_list.go
+++ b/pkg/tiller/release_list.go
@@ -140,7 +140,7 @@ func (s *ReleaseServer) partition(rels []*release.Release, cap int) <-chan []*re
 				// Over-cap, push chunk onto channel to send over gRPC stream
 				s.Log("partitioned at %d with %d releases (cap=%d)", fill, len(chunk), cap)
 				chunks <- chunk
-				// reset paritioning state
+				// reset partitioning state
 				chunk = nil
 				fill = 0
 			}
-- 
GitLab