mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +02:00
Merge pull request #9181 from Icinga/bugfix/icingadb-cmd-arg-order-int-213
Icinga DB: ensure icinga:*command:argument#order is an int
This commit is contained in:
commit
b11ac709d1
@ -1009,6 +1009,15 @@ void IcingaDB::InsertObjectDependencies(const ConfigObject::Ptr& object, const S
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
Value order;
|
||||||
|
|
||||||
|
// Intify if set.
|
||||||
|
if (values->Get("order", &order)) {
|
||||||
|
values->Set("order", (int)order);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
values->Set(objectKeyName, objectKey);
|
values->Set(objectKeyName, objectKey);
|
||||||
values->Set("argument_key", kv.first);
|
values->Set("argument_key", kv.first);
|
||||||
values->Set("environment_id", m_EnvironmentId);
|
values->Set("environment_id", m_EnvironmentId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user