brbzull0 commented on code in PR #13022:
URL: https://github.com/apache/trafficserver/pull/13022#discussion_r2994617457
##########
include/mgmt/rpc/jsonrpc/json/YAMLCodec.h:
##########
@@ -193,8 +193,10 @@ class yamlcpp_json_encoder
json << YAML::Key << "data";
json << YAML::BeginSeq;
for (auto const &err : errata) {
+ int severity = err.severity(ERRATA_DIAG);
json << YAML::BeginMap;
- json << YAML::Key << "code" << YAML::Value << errata.code().value();
Review Comment:
this is a bug in my code. it's printing errata.code all the time. It should
be the particular error not the one set in the jsonrpc response.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]