You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/09/08 12:26:40 UTC

[trafficserver] branch master updated: TS-9476: Regularize plugins - statistic.

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

amc 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 cd5b0c2  TS-9476: Regularize plugins - statistic.
cd5b0c2 is described below

commit cd5b0c2d1b7696ddd3cd23d1e1012bbb32ae001e
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Thu Sep 7 20:17:10 2017 -0500

    TS-9476: Regularize plugins - statistic.
---
 example/statistic/statistic.cc | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/example/statistic/statistic.cc b/example/statistic/statistic.cc
index d691042..09ee047 100644
--- a/example/statistic/statistic.cc
+++ b/example/statistic/statistic.cc
@@ -1,5 +1,15 @@
 /** @file
 
+  Statistics example plugin.
+
+  This plugin demonstrates the statistics API and also serves as a
+  regression test for TS-4840. If traffic_server is restarted, a
+  plugin ought to be able to safely reattach to its statistics.
+
+  This source is included as an example in the developers so if you
+  change it, you may have to update the line numbers on
+  doc/developer-guide/plugins/adding-statistics.en.rst
+
   @section license License
 
   Licensed to the Apache Software Foundation (ASF) under one
@@ -19,14 +29,6 @@
   limitations under the License.
  */
 
-// This plugin demonstrates the statistics API and also serves as a
-// regression test for TS-4840. If traffic_server is restarted, a
-// plugin ought to be able to safely reattach to its statistics.
-//
-// This source is included as an example in the developers so if you
-// change it, you may have to update the line numbers on
-// doc/developer-guide/plugins/adding-statistics.en.rst
-
 #include <ts/ts.h>
 #include <cinttypes>
 #include <ctime>

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].