mirror of https://github.com/k3s-io/k3s
Merge pull request #39013 from xulike666/first-contributor-from-harmonycloud
Automatic merge from submit-queue fix typo on federation/pkg/dnsprovider/plugins.go **What this PR does / why we need it**: Increase code readability **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: just fix one minor mistake as first contribution **Release note**: ```release-note ```pull/6/head
commit
25dd8cbd94
|
@ -51,7 +51,7 @@ func RegisterDnsProvider(name string, cloud Factory) {
|
|||
// the name is not known. The error return is only used if the named provider
|
||||
// was known but failed to initialize. The config parameter specifies the
|
||||
// io.Reader handler of the configuration file for the DNS provider, or nil
|
||||
// for no configuation.
|
||||
// for no configuration.
|
||||
func GetDnsProvider(name string, config io.Reader) (Interface, error) {
|
||||
providersMutex.Lock()
|
||||
defer providersMutex.Unlock()
|
||||
|
|
Loading…
Reference in New Issue