Skip to content

Commit

Permalink
Merge pull request #16778 from QuentinBisson/patch-1
Browse files Browse the repository at this point in the history
Fix cluster variable in mixins
  • Loading branch information
ahrtr authored Oct 17, 2023
2 parents cba514e + 46b42a7 commit be83fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/mixin/dashboards/variables.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function(config) {
+ var.datasource.generalOptions.withLabel('Data Source'),

cluster:
var.query.new(config.clusterLabel)
var.query.new('cluster')
+ var.query.generalOptions.withLabel('cluster')
+ var.query.withDatasourceFromVariable(self.datasource)
+ { refresh: config.dashboard_var_refresh }
Expand Down

0 comments on commit be83fff

Please sign in to comment.