Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix - datasource controller was dropping secureJsonData (#1500)
This addresses a bug introduced in the changeover to using the openapi Grafana library where the secureJsonData field was being dropped. To address this it's necessary to use the `UpdateDataSourceCommand` struct to ensure we're also not dropping the version if it's present. This is a bit counter-intuitive to use the `Update` struct here and perhaps worth looking at another solution at some point. Thanks to matt-delaney-cruise for the initial PR around this.
- Loading branch information