Skip to content

Commit

Permalink
Merge pull request #7116 from Icinga/feature/no-reachable
Browse files Browse the repository at this point in the history
Drop Checkable#reachable in favor of #last_reachable
  • Loading branch information
Michael Friedrich authored Apr 15, 2019
2 parents 82de4bd + d7b6314 commit e0d9814
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions lib/icinga/checkable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,6 @@ int Checkable::GetSeverity() const
return 0;
}

bool Checkable::GetReachable() const
{
return IsReachable();
}

bool Checkable::GetProblem() const
{
return !IsStateOK(GetStateRaw());
Expand Down
1 change: 0 additions & 1 deletion lib/icinga/checkable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ class Checkable : public ObjectImpl<Checkable>
void ClearAcknowledgement(const MessageOrigin::Ptr& origin = nullptr);

int GetSeverity() const override;
bool GetReachable() const override;
bool GetProblem() const override;
bool GetHandled() const override;

Expand Down
3 changes: 0 additions & 3 deletions lib/icinga/checkable.ti
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ abstract class Checkable : CustomVarObject
[no_storage] int severity {
get;
};
[no_storage] bool reachable {
get;
};
[no_storage] bool problem {
get;
};
Expand Down

0 comments on commit e0d9814

Please sign in to comment.