grammar: replace all occurrences of "the the" with "the"

Kubernetes-commit: e4f776f23098ecf942cafa898777195adbc800f1
This commit is contained in:
Oscar Utbult 2022-09-17 22:58:01 +02:00 committed by Kubernetes Publisher
parent 90614109fc
commit 9d3d7b483a
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ func (ps *Plugins) Register(name string, plugin Factory) {
ps.registry[name] = plugin
}
// getPlugin creates an instance of the named plugin. It returns `false` if the
// getPlugin creates an instance of the named plugin. It returns `false` if
// the name is not known. The error is returned only when the named provider was
// known but failed to initialize. The config parameter specifies the io.Reader
// handler of the configuration file for the cloud provider, or nil for no configuration.

View File

@ -25,7 +25,7 @@ import (
// NameGenerator generates names for objects. Some backends may have more information
// available to guide selection of new names and this interface hides those details.
type NameGenerator interface {
// GenerateName generates a valid name from the base name, adding a random suffix to the
// GenerateName generates a valid name from the base name, adding a random suffix to
// the base. If base is valid, the returned name must also be valid. The generator is
// responsible for knowing the maximum valid name length.
GenerateName(base string) string