Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions bundle/config/mutator/resourcemutator/resource_mutator.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ func applyInitializeMutators(ctx context.Context, b *bundle.Bundle) diag.Diagnos
// OR corresponding fields on ForEachTask if that is present
// Overrides job compute settings with a specified cluster ID for development or testing
OverrideCompute(),

// ApplyPresets should have more priority than defaults below, so it should be run first
ApplyPresets(),
)

if diags.HasError() {
Expand All @@ -58,8 +61,6 @@ func applyInitializeMutators(ctx context.Context, b *bundle.Bundle) diag.Diagnos
}

diags = diags.Extend(bundle.ApplySeq(ctx, b,
ApplyPresets(),

// Reads (typed): b.Config.Resources.Jobs (checks job configurations)
// Updates (typed): b.Config.Resources.Jobs[].Queue (sets Queue.Enabled to true for jobs without queue settings)
// Enable queueing for jobs by default, following the behavior from API 2.2+.
Expand Down
Loading