Commit 597f4f4e by Kevin Falcone

A useful comment from last week that wasn't added to that merge

parent 79767e1f
...@@ -107,6 +107,7 @@ def check_queues(host, port, environment, deploy, max_metrics, threshold, ...@@ -107,6 +107,7 @@ def check_queues(host, port, environment, deploy, max_metrics, threshold,
) )
for queues in grouper(all_queues, max_metrics): for queues in grouper(all_queues, max_metrics):
# grouper can return a bunch of Nones and we want to skip those
queues = [q for q in queues if q is not None] queues = [q for q in queues if q is not None]
metric_data = [] metric_data = []
for queue in queues: for queue in queues:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment