Skip to content

Commit d99de0c

Browse files
committed
Merge remote-tracking branch 'origin/master' into Localization
2 parents 12f2fd9 + 98d2669 commit d99de0c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Agent.Sdk/Knob/AgentKnobs.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,7 @@ public class AgentKnobs
569569
public static readonly Knob UseNewNodeHandlerTelemetry = new Knob(
570570
nameof(UseNewNodeHandlerTelemetry),
571571
"Enables new approach to publish node handler information to the telemetry",
572-
new RuntimeKnobSource("AZP_USENEWNODEHANDLERTELEMETRY"),
573-
new EnvironmentKnobSource("AZP_USENEWNODEHANDLERTELEMETRY"),
572+
new PipelineFeatureSource("USENEWNODEHANDLERTELEMETRY"),
574573
new BuiltInDefaultKnobSource("false"));
575574

576575
public static readonly Knob ProcessHandlerEnableNewLogic = new Knob(

src/Agent.Sdk/Util/StringUtil.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,7 @@ public static string DeactivateVsoCommands(string input)
291291
return string.Empty;
292292
}
293293

294-
var vsoRegex = new Regex("##vso", RegexOptions.IgnoreCase);
295-
return vsoRegex.Replace(input, "**vso");
294+
return Regex.Replace(input, "##vso", "**vso", RegexOptions.IgnoreCase);
296295
}
297296
}
298297
}

0 commit comments

Comments
 (0)