Skip to content

Commit d503bab

Browse files
committed
Address CRs
1 parent 11a93ef commit d503bab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureDeploymentCmdletInfo.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ public static SetAzureDeploymentCmdletInfo SetAzureDeploymentConfigCmdletInfo(st
4545

4646
result.cmdletParams.Add(new CmdletParam("Config"));
4747
result.cmdletParams.Add(new CmdletParam("Configuration", configPath));
48-
result.cmdletParams.Add(new CmdletParam("ExtensionConfiguration", extConfig));
48+
49+
if (extConfig != null)
50+
{
51+
result.cmdletParams.Add(new CmdletParam("ExtensionConfiguration", extConfig));
52+
}
4953

5054
return result;
5155
}

0 commit comments

Comments
 (0)