diff options
author | Joel Diaz <jdiaz@redhat.com> | 2016-02-10 16:04:08 -0500 |
---|---|---|
committer | Joel Diaz <jdiaz@redhat.com> | 2016-02-10 16:11:23 -0500 |
commit | 77517fcaeaf3304c900bd108557f847942e873a2 (patch) | |
tree | 5e385ad1939aed94a0a7e74bdd9997773b67249e /roles/nickhammond.logrotate/tests | |
parent | bc39e1716b09af021da76e9e390111fcd0d9789a (diff) | |
download | openshift-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 'roles/nickhammond.logrotate/tests')
0 files changed, 0 insertions, 0 deletions