summaryrefslogtreecommitdiffstats
path: root/inventory/openstack/hosts
diff options
context:
space:
mode:
authorJoel Diaz <jdiaz@redhat.com>2016-02-10 16:04:08 -0500
committerJoel Diaz <jdiaz@redhat.com>2016-02-10 16:11:23 -0500
commit77517fcaeaf3304c900bd108557f847942e873a2 (patch)
tree5e385ad1939aed94a0a7e74bdd9997773b67249e /inventory/openstack/hosts
parentbc39e1716b09af021da76e9e390111fcd0d9789a (diff)
downloadopenshift-77517fcaeaf3304c900bd108557f847942e873a2.tar.gz
openshift-77517fcaeaf3304c900bd108557f847942e873a2.tar.bz2
openshift-77517fcaeaf3304c900bd108557f847942e873a2.tar.xz
openshift-77517fcaeaf3304c900bd108557f847942e873a2.zip
handle being passed an empty group list
Previous version would have the behavior where when an empty list is passed, the zbx API call would return a list of all groups. So an action with no groups defined would default to having all groups added to the operations. Handle this by iterating one at a time through the list of provided groups. When an empty list is provided, and empty list is returned.
Diffstat (limited to 'inventory/openstack/hosts')
0 files changed, 0 insertions, 0 deletions