]> granicus.if.org Git - icinga2/commitdiff
Drop Checkable#reachable in favor of #last_reachable 7116/head
authorAlexander A. Klimov <alexander.klimov@icinga.com>
Fri, 12 Apr 2019 11:03:11 +0000 (13:03 +0200)
committerAlexander A. Klimov <alexander.klimov@icinga.com>
Fri, 12 Apr 2019 11:03:11 +0000 (13:03 +0200)
lib/icinga/checkable.cpp
lib/icinga/checkable.hpp
lib/icinga/checkable.ti

index 1fe6a3d973489c85c1a812e3c48432c27915174e..0f1879dda32cf632e73bd2ed6e28eb5ff42a5e14 100644 (file)
@@ -139,11 +139,6 @@ int Checkable::GetSeverity() const
        return 0;
 }
 
-bool Checkable::GetReachable() const
-{
-       return IsReachable();
-}
-
 bool Checkable::GetProblem() const
 {
        return !IsStateOK(GetStateRaw());
index 44cfaad499d7381d646e6dabe77747708e808008..ffe6ee4c7f0316ec37c1f128d736c739fd642b5a 100644 (file)
@@ -85,7 +85,6 @@ public:
        void ClearAcknowledgement(const MessageOrigin::Ptr& origin = nullptr);
 
        int GetSeverity() const override;
-       bool GetReachable() const override;
        bool GetProblem() const override;
        bool GetHandled() const override;
 
index 286e4b8f6b824d102c7a276db71b76e528429564..6bc35097b05559bc1d57437501b4556867127fcc 100644 (file)
@@ -123,9 +123,6 @@ abstract class Checkable : CustomVarObject
        [no_storage] int severity {
                get;
        };
-       [no_storage] bool reachable {
-               get;
-       };
        [no_storage] bool problem {
                get;
        };