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

Function ConfigObjectModifyAttribute

lib/base/configobject-script.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10using namespace icinga;
11
12static void ConfigObjectModifyAttribute(const String& attr, const Value& value)
13{
14 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
15 ConfigObject::Ptr self = vframe->Self;
16 REQUIRE_NOT_NULL(self);
17 return self->ModifyAttribute(attr, value);
18}
19
20static void ConfigObjectRestoreAttribute(const String& attr)
21{

Callers

nothing calls this directly

Calls 1

ModifyAttributeMethod · 0.80

Tested by

no test coverage detected