From 55f470f55e858f7b623d54dea9d57cef6c574bf1 Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 12 Apr 2018 10:26:12 +0100 Subject: [PATCH] mon: cleanups to optracker code * Make the types of the configuration options TYPE_SECS instead of numbers. * Remove unused 'filterstr' argument handling, this argument is not part of the mon's admin socket command definitions. Signed-off-by: John Spray --- src/common/options.cc | 13 +++++++------ src/mon/Monitor.cc | 27 +++++++++++---------------- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index fb6914d0dda..bea17832b64 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1105,9 +1105,10 @@ std::vector