grammar: replace all occurrences of "the the" with "the"
Kubernetes-commit: e4f776f23098ecf942cafa898777195adbc800f1
This commit is contained in:
parent
90614109fc
commit
9d3d7b483a
|
|
@ -85,7 +85,7 @@ func (ps *Plugins) Register(name string, plugin Factory) {
|
||||||
ps.registry[name] = plugin
|
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
|
// 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
|
// 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.
|
// handler of the configuration file for the cloud provider, or nil for no configuration.
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ import (
|
||||||
// NameGenerator generates names for objects. Some backends may have more information
|
// NameGenerator generates names for objects. Some backends may have more information
|
||||||
// available to guide selection of new names and this interface hides those details.
|
// available to guide selection of new names and this interface hides those details.
|
||||||
type NameGenerator interface {
|
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
|
// the base. If base is valid, the returned name must also be valid. The generator is
|
||||||
// responsible for knowing the maximum valid name length.
|
// responsible for knowing the maximum valid name length.
|
||||||
GenerateName(base string) string
|
GenerateName(base string) string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue