Skip to content

Commit 0badd7d

Browse files
committed
Merge branch 'dev1' of https://github.com/MabOneSdk/azure-powershell into dev1
2 parents 5b540d4 + a392c76 commit 0badd7d

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)