mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +02:00
Call Namespace#Set(), not #SetFieldByName()
Namespace#SetFieldByName() calls #Set() anyway.
This commit is contained in:
parent
e9846f1827
commit
e61b380808
@ -59,7 +59,7 @@ void ScriptGlobal::Set(const String& name, const Value& value)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
parent->SetFieldByName(tokens[tokens.size() - 1], value, false, DebugInfo());
|
parent->Set(tokens[tokens.size() - 1], value, false, DebugInfo());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user