Merge pull request #7116 from Icinga/feature/no-reachable

Drop Checkable#reachable in favor of #last_reachable
This commit is contained in:
Michael Friedrich 2019-04-15 13:40:06 +02:00 committed by GitHub
commit e0d9814feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 9 deletions

View File

@ -139,11 +139,6 @@ int Checkable::GetSeverity() const
return 0;
}
bool Checkable::GetReachable() const
{
return IsReachable();
}
bool Checkable::GetProblem() const
{
return !IsStateOK(GetStateRaw());

View 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;

View File

@ -123,9 +123,6 @@ abstract class Checkable : CustomVarObject
[no_storage] int severity {
get;
};
[no_storage] bool reachable {
get;
};
[no_storage] bool problem {
get;
};