fix(alertgroups): add expression validator to detect new lines on expressions (#807)
This commit is contained in:
parent
9cd402e09f
commit
f4498e85f3
5 changed files with 111 additions and 1 deletions
|
|
@ -997,7 +997,7 @@ func toNodepoolsPayload(ctx context.Context, m *Model, availableMachineVersions
|
|||
if v.IsNull() || v.IsUnknown() {
|
||||
continue
|
||||
}
|
||||
s, err := conversion.ToString(context.TODO(), v)
|
||||
s, err := conversion.ToString(ctx, v)
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue