Skip to content

Commit 3f49e0b

Browse files
committed
Mixin: Use std.parseYaml instead of Tanka native function.
1 parent 36be4a7 commit 3f49e0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysqld-mixin/mixin.libsonnet

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
grafanaDashboards: {
2+
grafanaDashboards+: {
33
'mysql-overview.json': (import 'dashboards/mysql-overview.json'),
44
},
55

66
// Helper function to ensure that we don't override other rules, by forcing
77
// the patching of the groups list, and not the overall rules object.
88
local importRules(rules) = {
9-
groups+: std.native('parseYaml')(rules)[0].groups,
9+
groups+: std.parseYaml(rules).groups,
1010
},
1111

1212
prometheusRules+: importRules(importstr 'rules/rules.yaml'),

0 commit comments

Comments
 (0)