Skip to content

Commit 7fba60b

Browse files
Fixing the order of the knob source for Node 24
1 parent b7f511c commit 7fba60b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Agent.Sdk/Knob/AgentKnobs.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,17 @@ public class AgentKnobs
203203
public static readonly Knob UseNode24 = new Knob(
204204
nameof(UseNode24),
205205
"Forces the agent to use Node 24 handler for all Node-based tasks",
206+
new PipelineFeatureSource("UseNode24"),
206207
new RuntimeKnobSource("AGENT_USE_NODE24"),
207208
new EnvironmentKnobSource("AGENT_USE_NODE24"),
208-
new PipelineFeatureSource("UseNode24"),
209209
new BuiltInDefaultKnobSource("false"));
210210

211211
public static readonly Knob UseNode24InUnsupportedSystem = new Knob(
212212
nameof(UseNode24InUnsupportedSystem),
213213
"Forces the agent to use Node 24 handler for all Node-based tasks, even if it's in an unsupported system",
214+
new PipelineFeatureSource("UseNode24InUnsupportedSystem"),
214215
new RuntimeKnobSource("AGENT_USE_NODE24_IN_UNSUPPORTED_SYSTEM"),
215216
new EnvironmentKnobSource("AGENT_USE_NODE24_IN_UNSUPPORTED_SYSTEM"),
216-
new PipelineFeatureSource("UseNode24InUnsupportedSystem"),
217217
new BuiltInDefaultKnobSource("false"));
218218

219219
public static readonly Knob FetchByCommitForFullClone = new Knob(
@@ -721,8 +721,8 @@ public class AgentKnobs
721721
public static readonly Knob UseNode24ToStartContainer = new Knob(
722722
nameof(UseNode24ToStartContainer),
723723
"If true, try to start container job using Node24, then fallback to Node20, then Node16.",
724-
new RuntimeKnobSource("AZP_AGENT_USE_NODE24_TO_START_CONTAINER"),
725724
new PipelineFeatureSource("UseNode24ToStartContainer"),
725+
new RuntimeKnobSource("AZP_AGENT_USE_NODE24_TO_START_CONTAINER"),
726726
new BuiltInDefaultKnobSource("false"));
727727

728728
public static readonly Knob EnableNewMaskerAndRegexes = new Knob(

0 commit comments

Comments
 (0)