Commit 25dd8cbd authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 ```
parents 46afb00f 8a4fc9c7
...@@ -51,7 +51,7 @@ func RegisterDnsProvider(name string, cloud Factory) { ...@@ -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 // 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 // was known but failed to initialize. The config parameter specifies the
// io.Reader handler of the configuration file for the DNS provider, or nil // 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) { func GetDnsProvider(name string, config io.Reader) (Interface, error) {
providersMutex.Lock() providersMutex.Lock()
defer providersMutex.Unlock() defer providersMutex.Unlock()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment