mirror of https://github.com/Icinga/icinga2.git
parent
4f647527fd
commit
a0631cd351
|
@ -102,7 +102,7 @@ Value ApiListener::ConfigUpdateObjectAPIHandler(const MessageOrigin::Ptr& origin
|
|||
}
|
||||
|
||||
/* update the object */
|
||||
double objVersion = Convert::ToLong(params->Get("version"));
|
||||
double objVersion = params->Get("version");
|
||||
|
||||
ConfigType::Ptr dtype = ConfigType::GetByName(objType);
|
||||
|
||||
|
|
Loading…
Reference in New Issue