Skip to content

Commit 3727599

Browse files
authored
Spelling Fixes (#28070)
1 parent b43e4f0 commit 3727599

28 files changed

+48
-48
lines changed

src/RecoveryServices/RecoveryServices.Backup.Helpers/Conversions/ConversionHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ public static void GetPSSubProtectionPolicy(AzureVmWorkloadPolicy azureVmWorkloa
886886
}
887887
else if (string.Compare(subProtectionPolicy.PolicyType, "Log") == 0)
888888
{
889-
// timeZone paased as input but not used in below method calls
889+
// timeZone passed as input but not used in below method calls
890890
azureVmWorkloadPolicyModel.LogBackupSchedulePolicy = PolicyHelpers.GetPSLogSchedulePolicy((ServiceClientModel.LogSchedulePolicy)
891891
subProtectionPolicy.SchedulePolicy,
892892
((ServiceClientModel.AzureVmWorkloadProtectionPolicy)serviceClientResponse.Properties).Settings.TimeZone);

src/RecoveryServices/RecoveryServices.Backup.Helpers/Conversions/RecoveryPointConversions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static List<RecoveryPointBase> FilterRPsBasedOnTier(List<RecoveryPointBas
8282
}
8383

8484
/// <summary>
85-
/// filter move readness based on target tier
85+
/// filter move readiness based on target tier
8686
/// </summary>
8787
/// <param name="recoveryPointList"></param>
8888
/// <param name="targetTier"></param>

src/RecoveryServices/RecoveryServices.Backup.Helpers/HelperUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ string id
214214
}
215215

216216
/// <summary>
217-
/// Gets polcy name from the provided dictionary of key value pairs.
217+
/// Gets policy name from the provided dictionary of key value pairs.
218218
/// </summary>
219219
/// <param name="keyValuePairDict">Dictionary of UriEnum as key and value as value of corresponding URI enum</param>
220220
/// <param name="id">ID of the resource</param>

src/RecoveryServices/RecoveryServices.Backup.Helpers/Validations/PolicyValidations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public static void ValidateFullBackupRetentionPolicyWithTieringPolicy(LongTermRe
129129
}
130130

131131
/// <summary>
132-
/// Helper function to validate long term rentention policy and simple schedule policy.
132+
/// Helper function to validate long term retention policy and simple schedule policy.
133133
/// </summary>
134134
public static void ValidateLongTermRetentionPolicyWithSimpleSchedulePolicy(
135135
LongTermRetentionPolicy ltrPolicy,
@@ -226,7 +226,7 @@ public static void ValidateLongTermRetentionPolicyWithSimpleSchedulePolicy(
226226
}
227227

228228
/// <summary>
229-
/// Helper function to validate long term rentention policy and simple schedule policy.
229+
/// Helper function to validate long term retention policy and simple schedule policy.
230230
/// </summary>
231231
public static void ValidateLongTermRetentionPolicyWithSimpleSchedulePolicy(
232232
LongTermRetentionPolicy ltrPolicy,

src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmRecoveryPoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class AzureVmRecoveryPoint : AzureRecoveryPoint
8383
public DateTime? RehydrationExpiryTime;
8484

8585
/// <summary>
86-
/// Recovery point move rediness info
86+
/// Recovery point move readiness info
8787
/// </summary>
8888
public IDictionary<string, RecoveryPointMoveReadinessInfo> RecoveryPointMoveReadinessInfo;
8989

src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmWorkloadModels/AzureWorkloadRecoveryPoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class AzureWorkloadRecoveryPoint : AzureRecoveryPoint
3131
public RecoveryPointTier RecoveryPointTier;
3232

3333
/// <summary>
34-
/// Recovery point move rediness info
34+
/// Recovery point move readiness info
3535
/// </summary>
3636
public IDictionary<string, RecoveryPointMoveReadinessInfo> RecoveryPointMoveReadinessInfo;
3737

src/RecoveryServices/RecoveryServices.Backup.Models/BaseObjects.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public override void Validate()
388388
}
389389

390390
/// <summary>
391-
/// Base class for backup rentention policy.
391+
/// Base class for backup retention policy.
392392
/// </summary>
393393
public class RetentionPolicyBase : ObjectBase
394394
{

src/RecoveryServices/RecoveryServices.Backup.Models/CommonModels/PolicyRetentionObjects.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public override string ToString()
390390
}
391391

392392
/// <summary>
393-
/// Weekly rentention schedule.
393+
/// Weekly retention schedule.
394394
/// </summary>
395395
public class WeeklyRetentionSchedule : RetentionScheduleBase
396396
{
@@ -442,7 +442,7 @@ public override string ToString()
442442
}
443443

444444
/// <summary>
445-
/// Monthly rentention schedule.
445+
/// Monthly retention schedule.
446446
/// </summary>
447447
public class MonthlyRetentionSchedule : RetentionScheduleBase
448448
{
@@ -528,7 +528,7 @@ public override string ToString()
528528
}
529529

530530
/// <summary>
531-
/// Yearly rentention schedule.
531+
/// Yearly retention schedule.
532532
/// </summary>
533533
public class YearlyRetentionSchedule : RetentionScheduleBase
534534
{
@@ -625,7 +625,7 @@ public override string ToString()
625625
}
626626

627627
/// <summary>
628-
/// Daily rentention format.
628+
/// Daily retention format.
629629
/// </summary>
630630
public class DailyRetentionFormat
631631
{
@@ -672,7 +672,7 @@ public override string ToString()
672672
}
673673

674674
/// <summary>
675-
/// Weekly rentention format.
675+
/// Weekly retention format.
676676
/// </summary>
677677
public class WeeklyRetentionFormat
678678
{

src/RecoveryServices/RecoveryServices.Backup.Models/CommonModels/PolicyScheduleObjects.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public override void Validate()
158158

159159
DateTime windowStartTime = (DateTime)ScheduleWindowStartTime;
160160

161-
// If ScheduleWindowDuration is greator than (23:30 - ScheduleWindowStartTime) then throw exception
161+
// If ScheduleWindowDuration is greater than (23:30 - ScheduleWindowStartTime) then throw exception
162162
// if non-UTC times (timeZones already allowed) are allowed then this exception needs to change
163163
if (windowStartTime.Minute % 30 != 0 || windowStartTime.Second != 0 || windowStartTime.Millisecond != 0)
164164
{

src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.Designer.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)