]> granicus.if.org Git - icinga2/commitdiff
Add missing field attribute for the /v1/types API handler
authorGunnar Beutner <gunnar@beutner.name>
Wed, 26 Aug 2015 09:02:22 +0000 (11:02 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Wed, 26 Aug 2015 09:02:22 +0000 (11:02 +0200)
refs #9076

lib/remote/typequeryhandler.cpp

index 79d43881ec2361413c92832a54773b87e67a8678..aea42c124f4481986cea2ab7e42b625e0fd6a45c 100644 (file)
@@ -144,6 +144,7 @@ bool TypeQueryHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& requ
 
                        attributeInfo->Set("config", static_cast<bool>(field.Attributes & FAConfig));
                        attributeInfo->Set("state", static_cast<bool>(field.Attributes & FAState));
+                       attributeInfo->Set("internal", static_cast<bool>(field.Attributes & FAInternal));
                        attributeInfo->Set("required", static_cast<bool>(field.Attributes & FARequired));
 
                }