MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetLocalZone

Method GetLocalZone

lib/remote/zone.cpp:134–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134Zone::Ptr Zone::GetLocalZone()
135{
136 Endpoint::Ptr local = Endpoint::GetLocalEndpoint();
137
138 if (!local)
139 return nullptr;
140
141 return local->GetZone();
142}
143
144void Zone::ValidateEndpointsRaw(const Lazy<Array::Ptr>& lvalue, const ValidationUtils& utils)
145{

Callers

nothing calls this directly

Calls 1

GetZoneMethod · 0.45

Tested by

no test coverage detected