Skip to content

Commit 2edc12b

Browse files
fix(oncall): fix Integration default route escalationChainRefs
fixes #27
1 parent 32410c3 commit 2edc12b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

grafanaplane/oncall/integration.libsonnet

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ local forProvider = integration.spec.parameters.forProvider;
2626
integration.new(self.integrationName)
2727
+ forProvider.withName(name)
2828
+ forProvider.withType(type)
29-
+ forProvider.defaultRoute.escalationChainRef.withName(defaultChainName),
29+
+ forProvider.withDefaultRoute(
30+
forProvider.defaultRoute.escalationChainRef.withName(defaultChainName)
31+
),
3032
},
3133

3234
'#withId':: d.func.new(

0 commit comments

Comments
 (0)