You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "brbzull0 (via GitHub)" <gi...@apache.org> on 2023/03/07 15:07:28 UTC

[GitHub] [trafficserver] brbzull0 opened a new pull request, #9505: records - Allow the records.yaml parser to keep reading further docs even when there is an error.

brbzull0 opened a new pull request, #9505:
URL: https://github.com/apache/trafficserver/pull/9505

   The idea is to make sure we parse the entire file. Without this change, if an error is found in a particular doc, then the rest of  the documents will be ignored.
   
   Example:
   ```yaml
   #doc 1
   ts:
     field_a: 1
   ---
   # doc 2
   ts:
      some_error_here: 1
   ---
   # doc 3
   ts:
     field_b: 2
   ```
   
   ATS will detect the `doc 2` error and will not even bother to parse the `doc 3.` 
   
   This PT makes sure that all docs get read and  display any errors at the end.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] brbzull0 merged pull request #9505: records.yaml - Allow the records.yaml parser to keep reading further docs even when an error is detected

Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 merged PR #9505:
URL: https://github.com/apache/trafficserver/pull/9505


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org