Skip to content

Commit 535fb02

Browse files
author
Samuel Anudeep
committed
Updated latest Swagger DLL - used UTC converter for serialization, removed ContainerType enum and made corresponding changes.
1 parent 4d5d1ea commit 535fb02

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Helpers/ServiceClientHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public static string GetServiceClientContainerType(CmdletModel.ContainerType con
183183
switch (containerType)
184184
{
185185
case CmdletModel.ContainerType.AzureVM:
186-
serviceClientContainerType = ServiceClientModel.ContainerType.IaasVMContainer.ToString();
186+
serviceClientContainerType = "IaasVMContainer";
187187
break;
188188
default:
189189
break;

src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models/CommonModels/Utils.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ public static ContainerType GetPsContainerType(string containerType)
230230
{
231231
return ContainerType.AzureVM;
232232
}
233-
else if (containerType == ServiceClientModel.ContainerType.Windows.ToString())
233+
else if (containerType == "Windows")
234234
{
235235
return ContainerType.Windows;
236236
}
237-
else if (containerType == ServiceClientModel.ContainerType.AzureSqlContainer.ToString())
237+
else if (containerType == "AzureSqlContainer")
238238
{
239239
return ContainerType.AzureSQL;
240240
}
Binary file not shown.

0 commit comments

Comments
 (0)