Skip to content

Commit 179f2db

Browse files
committed
generate
1 parent f230421 commit 179f2db

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

commands/types/dnscontrol.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3574,7 +3574,7 @@ declare function SOA(name: string, ns: string, mbox: string, refresh: number, re
35743574
*
35753575
* ## Advanced Technique: Define once, use many
35763576
*
3577-
* In some situations we define an SPF setting once and want to re-use
3577+
* In some situations we define an SPF setting once and want to reuse
35783578
* it on many domains. Here's how to do this:
35793579
*
35803580
* ```javascript

documentation/provider/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Jump to a table:
165165
| [`CLOUDNS`](cloudns.md) ||||||
166166
| [`CNR`](cnr.md) ||||||
167167
| [`DESEC`](desec.md) ||||||
168-
| [`DIGITALOCEAN`](digitalocean.md) ||||| |
168+
| [`DIGITALOCEAN`](digitalocean.md) ||||| |
169169
| [`DNSIMPLE`](dnsimple.md) ||||||
170170
| [`DNSMADEEASY`](dnsmadeeasy.md) ||||||
171171
| [`DOMAINNAMESHOP`](domainnameshop.md) ||||||

providers/cloudns/cloudnsProvider.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)