Skip to content

Commit a392c76

Browse files
committed
Merge pull request #220 from MabOneSdk/pikumar-dev1
conversion for mab
2 parents 3fcc717 + 75b7dc4 commit a392c76

File tree

1 file changed

+4
-0
lines changed
  • src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Helpers/Conversions

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ public static AzureRmRecoveryServicesContainerBase GetContainerModel(ProtectionC
3737
{
3838
containerModel = new AzureRmRecoveryServicesIaasVmContainer(protectionContainer);
3939
}
40+
if (protectionContainer.Properties.GetType().IsSubclassOf(typeof(MabProtectionContainer)))
41+
{
42+
containerModel = new AzureRmRecoveryServicesMabContainer(protectionContainer);
43+
}
4044
}
4145

4246
return containerModel;

0 commit comments

Comments
 (0)