mirror of https://github.com/Icinga/icinga2.git
parent
a59bcdc26c
commit
44b87aeff6
|
@ -217,7 +217,7 @@ Type::Ptr ScriptUtils::TypeOf(const Value& value)
|
||||||
case ValueEmpty:
|
case ValueEmpty:
|
||||||
return Type::GetByName("Object");
|
return Type::GetByName("Object");
|
||||||
case ValueNumber:
|
case ValueNumber:
|
||||||
return Type::GetByName("double");
|
return Type::GetByName("Number");
|
||||||
case ValueString:
|
case ValueString:
|
||||||
return Type::GetByName("String");
|
return Type::GetByName("String");
|
||||||
case ValueObject:
|
case ValueObject:
|
||||||
|
|
Loading…
Reference in New Issue