Skip to content

Commit c38092c

Browse files
committed
reverse params for better usage.
Signed-off-by: Cyril Tovena <[email protected]>
1 parent 82a6312 commit c38092c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mixin-utils/utils.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ local g = import 'grafana-builder/grafana.libsonnet';
120120
'{%s}' % std.join(', ', pairs),
121121

122122
// withRunbookURL - Add/Override the runbook_url annotations for all alerts inside a list of rule groups.
123-
// - groups: the list of rule groups containing alerts.
124123
// - url_format: an URL format for the runbook, the alert name will be substituted in the URL.
125-
withRunbookURL(groups, url_format)::
124+
// - groups: the list of rule groups containing alerts.
125+
withRunbookURL(url_format, groups)::
126126
[
127127
group {
128128
rules: [

0 commit comments

Comments
 (0)