Skip to content

Commit

Permalink
Drop Checkable#reachable in favor of #last_reachable
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Apr 12, 2019
1 parent 2b3511d commit d7b6314
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 d7b6314

Please sign in to comment.