From 3488c82093d5a0bf11718fa18892b0412c61284f Mon Sep 17 00:00:00 2001 From: Pat Moroney Date: Thu, 27 Apr 2017 06:59:18 -0600 Subject: [PATCH] Fix some typos in comments (#102) --- providers/providers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/providers.go b/providers/providers.go index 36e79066d..cf9b3d9cc 100644 --- a/providers/providers.go +++ b/providers/providers.go @@ -30,7 +30,7 @@ type RegistrarInitializer func(map[string]string) (Registrar, error) var registrarTypes = map[string]RegistrarInitializer{} -//DspInitializer is a function to create a registrar. Function will be passed the unprocessed json payload from the configuration file for the given provider. +//DspInitializer is a function to create a DNS service provider. Function will be passed the unprocessed json payload from the configuration file for the given provider. type DspInitializer func(map[string]string, json.RawMessage) (DNSServiceProvider, error) var dspTypes = map[string]DspInitializer{} @@ -118,7 +118,7 @@ func CreateDsps(d *models.DNSConfig, providerConfigs map[string]map[string]strin return dsps, nil } -// None is a basivc provider type that does absolutely nothing. Can be useful as a placeholder for third parties or unimplemented providers. +// None is a basic provider type that does absolutely nothing. Can be useful as a placeholder for third parties or unimplemented providers. type None struct{} func (n None) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Correction, error) {