Skip to content

Commit 266169d

Browse files
author
dragonfly91
committed
[RS Backup] Fixing line breaks
1 parent ca553b5 commit 266169d

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,25 +81,24 @@ public BaseRecoveryServicesJobResponse EnableProtection()
8181
if (itemBase == null)
8282
{
8383
isComputeAzureVM = string.IsNullOrEmpty(azureVMCloudServiceName) ? true : false;
84-
string azureVMRGName = (isComputeAzureVM) ?
84+
string azureVMRGName = (isComputeAzureVM) ?
8585
azureVMResourceGroupName : azureVMCloudServiceName;
8686

8787
ValidateAzureVMWorkloadType(policy.WorkloadType);
8888

8989
ValidateAzureVMEnableProtectionRequest(
90-
azureVMName,
91-
azureVMCloudServiceName,
92-
azureVMResourceGroupName,
90+
azureVMName,
91+
azureVMCloudServiceName,
92+
azureVMResourceGroupName,
9393
policy);
9494

95-
ProtectableObjectResource protectableObjectResource =
95+
ProtectableObjectResource protectableObjectResource =
9696
GetAzureVMProtectableObject(azureVMName, azureVMRGName, isComputeAzureVM);
9797

98-
Dictionary<UriEnums, string> keyValueDict =
98+
Dictionary<UriEnums, string> keyValueDict =
9999
HelperUtils.ParseUri(protectableObjectResource.Id);
100100
containerUri = HelperUtils.GetContainerUri(keyValueDict, protectableObjectResource.Id);
101-
protectedItemUri = HelperUtils.GetProtectableItemUri(
102-
keyValueDict, protectableObjectResource.Id);
101+
protectedItemUri = HelperUtils.GetProtectableItemUri(keyValueDict, protectableObjectResource.Id);
103102

104103
AzureIaaSVMProtectableItem iaasVmProtectableItem = (AzureIaaSVMProtectableItem)protectableObjectResource.Properties;
105104
if (iaasVmProtectableItem != null)

0 commit comments

Comments
 (0)