This repository was archived by the owner on Jan 15, 2024. It is now read-only.
Commit 3c743cd
authored
Omit the organization prefs dashboard ID if unset (#131)
* Add `WithOrgID` function to Grafana client
Issue: grafana/terraform-provider-grafana#747
This will allow the Terraform provider to use a different Org ID for each resource.
Currently, the client is configured once for each `provider` block
One caveat is that this feature can only be used with basic auth since API keys are org-scoped
* Fix linting
* Omit the organization prefs dashboard ID if unset
Will be used for grafana/terraform-provider-grafana#7681 parent 80e79a9 commit 3c743cd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments