From 91cdf355a24196f0ac813431012b98f7d2cfeff7 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 28 Apr 2021 13:15:01 +0000 Subject: [PATCH] Update lib/hooks/stats.cpp --- lib/hooks/stats.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/hooks/stats.cpp b/lib/hooks/stats.cpp index d43643f5a..9d4799ecf 100644 --- a/lib/hooks/stats.cpp +++ b/lib/hooks/stats.cpp @@ -228,9 +228,9 @@ public: stats = std::make_shared(buckets, warmup); - /* Register statistic object to path. + /* Register statistic object to node. * - * This allows the path code to update statistics. */ + * This allows the node code to update statistics. */ if (node) node->stats = stats; @@ -278,7 +278,7 @@ Hook::Reason StatsReadHook::process(sample *smp) /* Register hook */ static char n[] = "stats"; -static char d[] = "Collect statistics for the current path"; +static char d[] = "Collect statistics for the current node"; static HookPlugin p; } /* namespace node */