cmcfarlen commented on code in PR #10069:
URL: https://github.com/apache/trafficserver/pull/10069#discussion_r1275316989


##########
plugins/experimental/remap_stats/remap_stats.cc:
##########
@@ -141,11 +141,11 @@ handle_post_remap(TSCont cont, TSEvent event ATS_UNUSED, 
void *edata)
 }
 
 void
-create_stat_name(ts::FixedBufferWriter &stat_name, std::string_view const h, 
std::string_view const b)
+create_stat_name(swoc::FixedBufferWriter &stat_name, std::string_view const h, 
std::string_view const b)
 {
-  stat_name.reset().clip(1);
+  stat_name.clear().restrict(1);

Review Comment:
   I know this is existing code and this is just changing to the swoc names, 
but what does this restrict/restore do?



-- 
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]

Reply via email to