mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Merge pull request #9514 from Icinga/bugfix/validate-array-types-correctly
ClassCompiler: Validate field types -> Icinga type names correctly
This commit is contained in:
commit
86b63a57ae
@ -151,9 +151,6 @@ static std::string FieldTypeToIcingaName(const Field& field, bool inner)
|
||||
if (field.Attributes & FAEnum)
|
||||
return "Number";
|
||||
|
||||
if (ftype == "bool" || ftype == "int" || ftype == "double")
|
||||
return "Number";
|
||||
|
||||
if (ftype == "int" || ftype == "double")
|
||||
return "Number";
|
||||
else if (ftype == "bool")
|
||||
|
Loading…
x
Reference in New Issue
Block a user