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

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

commit bcfaa6fd7dc25eba1ec9678ba73623c9b9d78208
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]>
    (cherry picked from commit 70caccb0ca933f075d76815453074c907e35c558)
---
 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