This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 70caccb0ca Restore returning string metrics from traffic_ctl match 
(#11609)
70caccb0ca is described below

commit 70caccb0ca933f075d76815453074c907e35c558
Author: Chris McFarlen <[email protected]>
AuthorDate: Thu Jul 25 14:21:52 2024 -0500

    Restore returning string metrics from traffic_ctl match (#11609)
    
    Co-authored-by: Chris McFarlen <[email protected]>
---
 src/records/RecCore.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/records/RecCore.cc b/src/records/RecCore.cc
index 6f098986a6..81fcfa1037 100644
--- a/src/records/RecCore.cc
+++ b/src/records/RecCore.cc
@@ -576,8 +576,7 @@ RecLookupMatchingRecords(unsigned rec_type, const char 
*match, void (*callback)(
         callback(&tmp, data);
       }
     }
-    // all done for metrics
-    return REC_ERR_OKAY;
+    // Fall through to return any matching string metrics
   }
 
   num_records = g_num_records;

Reply via email to