[icinga-checkins] icinga.org: icinga2/feature/checkresult-5039: Refactor the Service:: Is{Comment, Downtime}* methods.

git at icinga.org git at icinga.org
Sat Nov 9 22:20:55 CET 2013


Module: icinga2
Branch: feature/checkresult-5039
Commit: e2292ce5f7d22eba495bcf0161f5189b28be4c36
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=e2292ce5f7d22eba495bcf0161f5189b28be4c36

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Sat Nov  9 22:16:53 2013 +0100

Refactor the Service::Is{Comment,Downtime}* methods.

Refs #5039

---

 components/compat/statusdatawriter.cpp   |    6 ++--
 components/livestatus/downtimestable.cpp |    2 +-
 components/livestatus/hoststable.cpp     |   10 +++---
 components/livestatus/servicestable.cpp  |   10 +++---
 lib/icinga/comment.cpp                   |    8 +++++
 lib/icinga/comment.h                     |    2 ++
 lib/icinga/downtime.cpp                  |   34 ++++++++++++++++++++
 lib/icinga/downtime.h                    |    5 +++
 lib/icinga/service-comment.cpp           |    9 +-----
 lib/icinga/service-downtime.cpp          |   51 ++++--------------------------
 lib/icinga/service.h                     |    6 ----
 11 files changed, 70 insertions(+), 73 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=e2292ce5f7d22eba495bcf0161f5189b28be4c36




More information about the icinga-checkins mailing list