Module: check_mk
Branch: master
Commit: f2cd38cff521601d5261724817d45647c0399fc6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f2cd38cff52160…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Thu Mar 15 15:46:26 2018 +0100
Win-agent: reduce no of Section constructor params
Implement separator() as virtual member function with default value in
base class and special values overriden in derived classes.
---
agents/windows/Section.cc | 10 ++++------
agents/windows/Section.h | 4 ++--
agents/windows/build_version | 2 +-
agents/windows/sections/SectionDF.cc | 2 +-
agents/windows/sections/SectionDF.h | 1 +
agents/windows/sections/SectionFileinfo.cc | 2 +-
agents/windows/sections/SectionFileinfo.h | 1 +
agents/windows/sections/SectionGroup.cc | 6 +++---
agents/windows/sections/SectionGroup.h | 3 +++
agents/windows/sections/SectionPS.cc | 2 +-
agents/windows/sections/SectionPS.h | 1 +
agents/windows/sections/SectionPerfcounter.cc | 2 +-
agents/windows/sections/SectionPerfcounter.h | 2 ++
agents/windows/sections/SectionWMI.cc | 2 +-
agents/windows/sections/SectionWMI.h | 1 +
15 files changed, 24 insertions(+), 17 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=f2cd38cff5…