mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue