Project

General

Profile

Actions

Bug #3706

closed

API for show hostgroups use 'name' instead of 'label'

Added by Tal Kammer about 11 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

If a nested host group is used, finding a specific host group results in incorrect output.
For example:
If I have a hostgroup named: "common" and under it, I have 2 hostgroups: "group1" and "group2" and each one has a group named "hosts" (so common/group1/hosts and common/group2/hosts)
a query for "common/group1/hosts" results in an empty list and a query for "hosts" results with only 1 result which is one of the above (not a list like you'd expect)

Actions

Also available in: Atom PDF