stephenyeargin / hubot-grafana

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

Whitespace at the end of query changes its behaviour #87

Closed Acee11 closed 5 years ago

Acee11 commented 5 years ago

When executing command like hubot graf db test_db with whitespace at the end, it will treat is as an extra empty string argument, which results in generating link to the picture with empty from parameter(for example /?panelId=2&fullscreen&from=&to=now), instead of default query time range value.

stephenyeargin commented 5 years ago

Fixed in v2.2.2.