mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
GET /v1/objects/*: handle "attrs":[] as expected
... i.e. yield no attrs and not all. refs #8167
This commit is contained in:
parent
ea789f85ec
commit
e18c923abb
@ -31,7 +31,7 @@ Dictionary::Ptr ObjectQueryHandler::SerializeObjectAttrs(const Object::Ptr& obje
|
||||
}
|
||||
}
|
||||
|
||||
if (!isJoin && (!attrs || attrs->GetLength() == 0))
|
||||
if (!isJoin && !attrs)
|
||||
allAttrs = true;
|
||||
|
||||
if (allAttrs) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user