This commit is contained in:
Shreyas Goenka 2024-09-18 13:27:29 +02:00
parent f4f0e19263
commit 9d861aa922
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 3 deletions

View File

@ -40,9 +40,7 @@ func convertJobResource(ctx context.Context, vin dyn.Value) (dyn.Value, error) {
}
return tk1 < tk2
})
vout, err = dyn.Map(vin, "tasks", func(_ dyn.Path, _ dyn.Value) (dyn.Value, error) {
return dyn.V(tasks), nil
})
vout, err = dyn.Set(vin, "tasks", dyn.V(tasks))
if err != nil {
return dyn.InvalidValue, err
}