mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Drop Checkable#reachable in favor of #last_reachable
This commit is contained in:
parent
2b3511d8a6
commit
d7b63143cf
@ -139,11 +139,6 @@ int Checkable::GetSeverity() const
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Checkable::GetReachable() const
|
|
||||||
{
|
|
||||||
return IsReachable();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Checkable::GetProblem() const
|
bool Checkable::GetProblem() const
|
||||||
{
|
{
|
||||||
return !IsStateOK(GetStateRaw());
|
return !IsStateOK(GetStateRaw());
|
||||||
|
@ -85,7 +85,6 @@ public:
|
|||||||
void ClearAcknowledgement(const MessageOrigin::Ptr& origin = nullptr);
|
void ClearAcknowledgement(const MessageOrigin::Ptr& origin = nullptr);
|
||||||
|
|
||||||
int GetSeverity() const override;
|
int GetSeverity() const override;
|
||||||
bool GetReachable() const override;
|
|
||||||
bool GetProblem() const override;
|
bool GetProblem() const override;
|
||||||
bool GetHandled() const override;
|
bool GetHandled() const override;
|
||||||
|
|
||||||
|
@ -123,9 +123,6 @@ abstract class Checkable : CustomVarObject
|
|||||||
[no_storage] int severity {
|
[no_storage] int severity {
|
||||||
get;
|
get;
|
||||||
};
|
};
|
||||||
[no_storage] bool reachable {
|
|
||||||
get;
|
|
||||||
};
|
|
||||||
[no_storage] bool problem {
|
[no_storage] bool problem {
|
||||||
get;
|
get;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user