File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,8 @@ private List<DeploymentOperation> GetNewOperations(List<DeploymentOperation> old
338
338
}
339
339
340
340
//If nested deployment, get the operations under those deployments as well
341
- if ( operation . Properties . TargetResource . ResourceType . Equals ( Constants . MicrosoftResourcesDeploymentType , StringComparison . OrdinalIgnoreCase ) )
341
+ if ( operation . Properties . TargetResource . ResourceType . Equals ( Constants . MicrosoftResourcesDeploymentType , StringComparison . OrdinalIgnoreCase )
342
+ && ! operation . Properties . StatusCode . Equals ( "BadRequest" , StringComparison . OrdinalIgnoreCase ) )
342
343
{
343
344
List < DeploymentOperation > newNestedOperations = new List < DeploymentOperation > ( ) ;
344
345
DeploymentOperationsListResult result ;
You can’t perform that action at this time.
0 commit comments