mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Fix incorrect variable type in ApiListener::ConfigUpdateObjectAPIHandler
refs #10355
This commit is contained in:
parent
21a2986635
commit
f89877cd28
@ -102,7 +102,7 @@ Value ApiListener::ConfigUpdateObjectAPIHandler(const MessageOrigin::Ptr& origin
|
||||
}
|
||||
|
||||
/* update the object */
|
||||
int objVersion = Convert::ToLong(params->Get("version"));
|
||||
double objVersion = Convert::ToLong(params->Get("version"));
|
||||
|
||||
ConfigType::Ptr dtype = ConfigType::GetByName(objType);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user