@@ -158,9 +158,9 @@ func (c *cloudnsProvider) GetZoneRecordsCorrections(dc *models.DomainConfig, exi
158158
159159 var (
160160 reportMsgs []string
161- create diff.Changeset
162- del diff.Changeset
163- modify diff.Changeset
161+ create diff.Changeset
162+ del diff.Changeset
163+ modify diff.Changeset
164164 )
165165 for _ , inst := range instructions {
166166 cor := diff.Correlation {}
@@ -343,13 +343,13 @@ func toRc(domain string, r *domainRecord) (*models.RecordConfig, error) {
343343
344344 // Add metadata for GeoDNS
345345 // Note: By default, it works only with A, AAAA, CNAME, NAPTR or SRV record
346- // but you can ask the support for others type of record and they enable it
346+ // but you can ask the support for others type of record and they enable it
347347 // for your ClouDNS account.
348348 if r .GeodnsCode != "" {
349349 if rc .Metadata == nil {
350350 rc .Metadata = map [string ]string {}
351351 }
352- rc .Metadata [metaGeodnsCode ] = r .GeodnsCode ;
352+ rc .Metadata [metaGeodnsCode ] = r .GeodnsCode
353353 }
354354
355355 var err error
@@ -434,11 +434,11 @@ func toReq(rc *models.RecordConfig) (requestParams, error) {
434434
435435 // Add metadata for GeoDNS
436436 // Note: By default, it works only with A, AAAA, CNAME, NAPTR or SRV record
437- // but you can ask the support for others type of record and they enable it
437+ // but you can ask the support for others type of record and they enable it
438438 // for your ClouDNS account.
439439 geodnsCodeFromMetadataValue , geodnsCodeFromMetadataExist := rc .Metadata [metaGeodnsCode ]
440440 if geodnsCodeFromMetadataExist == true {
441- req ["geodns-code" ] = geodnsCodeFromMetadataValue ;
441+ req ["geodns-code" ] = geodnsCodeFromMetadataValue
442442 }
443443
444444 switch rc .Type { // #rtype_variations
@@ -524,7 +524,7 @@ func addMetadataCorrection(existingRc *models.RecordConfig, desiredRc *models.Re
524524
525525 // By default, the value is "DEFAULT"
526526 // To compare geodns metadata, we replace the value "DEFAULT" with an empty string
527- // Here, we replace the empty string with "DEFAULT", so the end user can see the
527+ // Here, we replace the empty string with "DEFAULT", so the end user can see the
528528 // real value send to the provider.
529529
530530 geodnsCodeFromExistingRcMetadataValue , geodnsCodeFromExistingRcMetadataExist := existingRc .Metadata [metaGeodnsCode ]
@@ -575,4 +575,4 @@ func compareMetadata(rc *models.RecordConfig) string {
575575 }
576576
577577 return string (result )
578- }
578+ }
0 commit comments