stephenyeargin / hubot-grafana

📈🤖 Query Grafana dashboards
http://docs.grafana.org/tutorials/hubot_howto/
MIT License
154 stars 48 forks source link

Check for template.current before using values #21

Closed stephenyeargin closed 9 years ago

stephenyeargin commented 9 years ago

Fixes #19

Apparently this is not set on every returned value of dashboard.template.list, so we shouldn't depend on it when building the string iteroplation array. Skip if not set.