Commit 8a4fc9c7 authored by Aaron.L.Xu's avatar Aaron.L.Xu

fix typo on federation/pkg/dnsprovider/plugins.go

parent 2b0a1f2b
...@@ -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