]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Spelling fixes from review
authorMiod Vallat <miod.vallat@powerdns.com>
Thu, 4 Dec 2025 16:12:59 +0000 (17:12 +0100)
committerGitHub <noreply@github.com>
Thu, 4 Dec 2025 16:12:59 +0000 (17:12 +0100)
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
docs/http-api/swagger/authoritative-api-swagger.yaml
docs/http-api/zone.rst
pdns/ws-auth.cc

index c8026e68cf1d83c016d3228033f15870748ad8c9..00ff9d1a36bb9cf4ed9b8fb125f2267ead0c6ee6 100644 (file)
@@ -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).'
index 99309e2a5cd88dfd2d5e23e496f3f0afd2383e2c..9711c2523ec6513fbde39899aaf6990baa0b7138 100644 (file)
@@ -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
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
index a26c7c63cfbe9d70f549cb6bf133986adf7dae82..573368a35656f86c7debe83a5ce2f95854967b38 100644 (file)
@@ -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;
       }