Skip to content

Commit

Permalink
fix(oncall): make Shift member visibility consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-bauer committed Dec 31, 2024
1 parent 5acf8ca commit 06a3c0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grafanaplane/oncall/shift.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local shift = raw.oncall.v1alpha1.onCallShift;
// Lift forProvider functions here for convenience.
shift.spec.parameters.forProvider
{
'#new': d.func.new(
'#new':: d.func.new(
|||
`new` creates an OnCallShift. The `name` is a display-friendly string,
and `id` defaults to a slug-ified version of it.
Expand All @@ -21,7 +21,7 @@ shift.spec.parameters.forProvider
shift.new(id)
+ super.withName(name),

'#withRollingUsers': d.func.new(
'#withRollingUsers':: d.func.new(
|||
`withRollingUsers` sets an OnCallShift to type `rolling_users` and
configures required fields. `users` must be an array *of arrays*
Expand Down

0 comments on commit 06a3c0c

Please sign in to comment.