We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func (m *manager) DashboardPanels(ctx context.Context, uid string) ([]*grafanasdk.Panel, error) { board, _, err := m.grafanaClient.GetDashboardByUID(ctx, uid) if err != nil { return nil, err } return board.Panels, nil }
So strange, i have checked my dashboard json file, the panels field, it is an array not a string
The text was updated successfully, but these errors were encountered:
@Yasumoto
Sorry, something went wrong.
Would you try #190? I was running into this error and think that it is fixed by the datasource change, even though the error is very confusing.
Go mod replace:
replace github.com/grafana-tools/sdk => github.com/csmarchbanks/sdk v0.0.0-20220120205302-870d00a83f4e
@csmarchbanks Thanks, it works!
#190 (comment) see my comment here. What do you think? 🤔
No branches or pull requests
So strange, i have checked my dashboard json file, the panels field, it is an array not a string
The text was updated successfully, but these errors were encountered: