mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
fix typeos in cloud-controller-manager
This commit is contained in:
parent
3b40702586
commit
22592c8cda
@ -64,7 +64,7 @@ func IsCloudProvider(name string) bool {
|
|||||||
// the name is unknown. The error return is only used if the named provider
|
// the name is unknown. The error return is only used if the named provider
|
||||||
// was known but failed to initialize. The config parameter specifies the
|
// was known but failed to initialize. The config parameter specifies the
|
||||||
// io.Reader handler of the configuration file for the cloud provider, or nil
|
// io.Reader handler of the configuration file for the cloud provider, or nil
|
||||||
// for no configuation.
|
// for no configuration.
|
||||||
func GetCloudProvider(name string, config io.Reader) (Interface, error) {
|
func GetCloudProvider(name string, config io.Reader) (Interface, error) {
|
||||||
providersMutex.Lock()
|
providersMutex.Lock()
|
||||||
defer providersMutex.Unlock()
|
defer providersMutex.Unlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user