hartfordfive/ruby-grafana-api

get_dashboard returns false when dashboard name contains parentheses

Opened this issue · 0 comments

Hi,

When a dashboard contains parentheses, for example "test (01)", "test (02)", ... the dashboard slug should remove the parentheses: "test-01", "test-02".

Currently, the parenthesis is kept, and get_dashboard returns false as it can't find the dashboard.

I'll submit a PR to fix this.