From 09eb132e1a0e4ddd8e9b4e1c22f678a2401f56b0 Mon Sep 17 00:00:00 2001 From: Adrian Leonhard Date: Thu, 2 Jun 2022 09:24:15 +0100 Subject: [PATCH] fix typo beging -> begin in 3 files --- src/Accounts/Accounts/Feedback/SendFeedback.cs | 2 +- src/ServiceFabric/ServiceFabric/ChangeLog.md | 1 + .../ManagedClusters/ServiceFabricManagedCmdletBase.cs | 4 ++-- .../ServiceFabric/Commands/ServiceFabricCmdletBase.cs | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Accounts/Accounts/Feedback/SendFeedback.cs b/src/Accounts/Accounts/Feedback/SendFeedback.cs index af915669aeb1..b979f9ea28f2 100644 --- a/src/Accounts/Accounts/Feedback/SendFeedback.cs +++ b/src/Accounts/Accounts/Feedback/SendFeedback.cs @@ -29,7 +29,7 @@ public class SendFeedbackCommand : AzureRMCmdlet protected override void BeginProcessing() { - //cmdlet is failing due to _metrichelper being null, since we skipped beging processing. + //cmdlet is failing due to _metrichelper being null, since we skipped begin processing. base.BeginProcessing(); if (!this.CheckIfInteractive()) diff --git a/src/ServiceFabric/ServiceFabric/ChangeLog.md b/src/ServiceFabric/ServiceFabric/ChangeLog.md index 42c7b6578b2f..83bbff4c6f9c 100644 --- a/src/ServiceFabric/ServiceFabric/ChangeLog.md +++ b/src/ServiceFabric/ServiceFabric/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Fixed typo in verbose log message. ## Version 3.0.2 * Added support for Ubuntu 20.04 vm image. diff --git a/src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ServiceFabricManagedCmdletBase.cs b/src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ServiceFabricManagedCmdletBase.cs index b59dad141d00..d7211f02e03b 100644 --- a/src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ServiceFabricManagedCmdletBase.cs +++ b/src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ServiceFabricManagedCmdletBase.cs @@ -74,7 +74,7 @@ protected T PollLongRunningOperation(AzureOperationResponse beginRequestRe { var progress = new ProgressRecord(0, "Request in progress", "Getting Status..."); WriteProgress(progress); - WriteVerboseWithTimestamp(string.Format("Beging request ARM correlationId: '{0}' response: '{1}'", + WriteVerboseWithTimestamp(string.Format("Begin request ARM correlationId: '{0}' response: '{1}'", beginRequestResponse.RequestId, beginRequestResponse.Response.StatusCode)); @@ -244,4 +244,4 @@ private HttpRequestMessage CloneAndDisposeRequest(HttpRequestMessage original, U #endregion } -} \ No newline at end of file +} diff --git a/src/ServiceFabric/ServiceFabric/Commands/ServiceFabricCmdletBase.cs b/src/ServiceFabric/ServiceFabric/Commands/ServiceFabricCmdletBase.cs index a7e5962f8202..1bc81a1f4b98 100644 --- a/src/ServiceFabric/ServiceFabric/Commands/ServiceFabricCmdletBase.cs +++ b/src/ServiceFabric/ServiceFabric/Commands/ServiceFabricCmdletBase.cs @@ -583,7 +583,7 @@ protected T StartRequestAndWait(Func>> request if (!correlationPrinted && beginRequestResponse != null) { WriteVerboseWithTimestamp(string.Format( - "Beging request ARM correlationId: '{0}' response: '{1}'", + "Begin request ARM correlationId: '{0}' response: '{1}'", beginRequestResponse.RequestId, beginRequestResponse.Response.StatusCode)); correlationPrinted = true;