mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BUG: Correctly spell Cabability (#582)
This commit is contained in:
@@ -53,8 +53,8 @@ const (
|
||||
|
||||
var providerCapabilities = map[string]map[Capability]bool{}
|
||||
|
||||
// ProviderHasCabability returns true if provider has capability.
|
||||
func ProviderHasCabability(pType string, cap Capability) bool {
|
||||
// ProviderHasCapability returns true if provider has capability.
|
||||
func ProviderHasCapability(pType string, cap Capability) bool {
|
||||
if providerCapabilities[pType] == nil {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user