Corrects some misspellings in comments

This should help to make
https://goreportcard.com/report/k8s.io/kubernetes#misspell
look a little nicer.
This commit is contained in:
Ed Robinson
2016-05-11 08:14:23 +01:00
parent 22dfaef9f0
commit afdbad078a
8 changed files with 8 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ type AuthProvider interface {
// Factory generates an AuthProvider plugin.
// clusterAddress is the address of the current cluster.
// config is the inital configuration for this plugin.
// config is the initial configuration for this plugin.
// persister allows the plugin to save updated configuration.
type Factory func(clusterAddress string, config map[string]string, persister AuthProviderConfigPersister) (AuthProvider, error)

View File

@@ -217,7 +217,7 @@ func TestCreateCleanWithPrefix(t *testing.T) {
{"anything", "anything"},
}
// WARNING: EnvVarCluster.Server is set during package loading time and can not be overriden by os.Setenv inside this test
// WARNING: EnvVarCluster.Server is set during package loading time and can not be overridden by os.Setenv inside this test
EnvVarCluster.Server = ""
tt = append(tt, struct{ server, host string }{"", "http://localhost:8080"})

View File

@@ -260,7 +260,7 @@ func (rules *ClientConfigLoadingRules) GetDefaultFilename() string {
return filename
}
}
// If none exists, use the first from precendence.
// If none exists, use the first from precedence.
if len(rules.Precedence) > 0 {
return rules.Precedence[0]
}