From: Miod Vallat Date: Thu, 4 Dec 2025 16:12:59 +0000 (+0100) Subject: Spelling fixes from review X-Git-Tag: rec-5.4.0-alpha1~21^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2415df70682764dd736c5215953b208536effb8;p=thirdparty%2Fpdns.git Spelling fixes from review Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Signed-off-by: Miod Vallat --- diff --git a/docs/http-api/swagger/authoritative-api-swagger.yaml b/docs/http-api/swagger/authoritative-api-swagger.yaml index c8026e68cf..00ff9d1a36 100644 --- a/docs/http-api/swagger/authoritative-api-swagger.yaml +++ b/docs/http-api/swagger/authoritative-api-swagger.yaml @@ -1265,7 +1265,7 @@ definitions: description: 'DNS TTL of the records, in seconds. MUST NOT be included when changetype is set to “DELETE”.' changetype: type: string - description: 'MUST be added when updating the RRSet. Must be one of DELETE, EXTEND, PRUNE or REPLACE. With DELETE, all existing RRs matching name and type will be deleted, including all comments. With EXTEND, only a single record shall be present, and it will be added to the RRSet if not already present. With PRUNE, only a single record shall be present, and it will be deleted from the RRSet if present. With REPLACE: when records is present, all existing RRs matching name and type will be deleted, and then new records given in records will be created. If no records are left, any existing comments will be deleted as well. When comments is present, all existing comments for the RRs matching name and type will be deleted, and then new comments given in comments will be created.' + description: 'MUST be added when updating the RRSet. Must be one of DELETE, EXTEND, PRUNE or REPLACE. With DELETE, all existing RRs matching name and type will be deleted, including all comments. With EXTEND, only a single record shall be present, and it will be added to the RRSet if not already present. With PRUNE, only a single record shall be present, and it will be deleted from the RRSet if present. With REPLACE, when records is present, all existing RRs matching name and type will be deleted, and then new records given in records will be created. If no records are left, any existing comments will be deleted as well. When comments is present, all existing comments for the RRs matching name and type will be deleted, and then new comments given in comments will be created.' records: type: array description: 'All records in this RRSet. When updating Records, this is the list of new records (replacing the old ones). Must be empty when changetype is set to DELETE, and must contain only one element when changetype is set to EXTEND or PRUNE. An empty list results in deletion of all records (and comments).' diff --git a/docs/http-api/zone.rst b/docs/http-api/zone.rst index 99309e2a5c..9711c2523e 100644 --- a/docs/http-api/zone.rst +++ b/docs/http-api/zone.rst @@ -170,7 +170,7 @@ Will yield a response similar to this (several headers omitted): HTTP/1.1 204 No Content -If no record with the same exact content exist in the RRSet, no action is performed and no error is returned. +If no record with the same exact content exists in the RRSet, no action is performed and no error is returned. Deleting a single record from a RRset ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index a26c7c63cf..573368a356 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -2551,7 +2551,7 @@ static applyResult applyReplace(const DomainInfo& domainInfo, const ZoneName& zo } } if (!checkNewRecords(resp, new_records, zonename, allowUnderscores)) { - // Proper error response has been setup, no need to do anything further. + // Proper error response has been set up, no need to do anything further. return ABORT; } } @@ -2600,7 +2600,7 @@ static applyResult applyPruneOrExtend(const DomainInfo& domainInfo, const ZoneNa } if (!checkNewRecords(resp, new_records, zonename, allowUnderscores)) { - // Proper error response has been setup, no need to do anything further. + // Proper error response has been set up, no need to do anything further. return ABORT; } @@ -2713,7 +2713,7 @@ static void patchZone(UeberBackend& backend, const ZoneName& zonename, DomainInf break; } if (result == ABORT) { - // Proper error response has been setup, no need to do anything further. + // Proper error response has been set up, no need to do anything further. domainInfo.backend->abortTransaction(); return; }