File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ public void CreateVirtualMachineUsingVMImageWithDataDisks()
581
581
{
582
582
// Try to get VM image with data disks
583
583
var vmImages = vmPowershellCmdlets . GetAzureVMImageReturningVMImages ( ) ;
584
- var vmImage = vmImages . Where ( t => t . OS == "Windows" && t . DataDiskConfigurations != null && t . DataDiskConfigurations . Any ( ) ) . FirstOrDefault ( ) ;
584
+ var vmImage = vmImages . Where ( t => t . OS == "Windows" && t . Category == "Public" && t . DataDiskConfigurations != null && t . DataDiskConfigurations . Any ( ) ) . FirstOrDefault ( ) ;
585
585
586
586
// New-AzureService and verify with Get-AzureService
587
587
vmPowershellCmdlets . NewAzureService ( serviceName , serviceName , locationName ) ;
You can’t perform that action at this time.
0 commit comments