mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
@@ -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"})
|
||||
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user