Skip to content

Commit

Permalink
Allow basic templates to customise vnet (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Feb 4, 2025
1 parent 4f06d2a commit f3448fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public AzureVMDeploymentInfo createDeployment(

// Network properties. If the vnet name isn't blank then
// then subnet name can't be either (based on verification rules)
if (!isBasic && StringUtils.isNotBlank((String) properties.get("virtualNetworkName"))) {
if (StringUtils.isNotBlank((String) properties.get("virtualNetworkName"))) {

Check warning on line 672 in src/main/java/com/microsoft/azure/vmagent/AzureVMManagementServiceDelegate.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 672 is not covered by tests
copyVariableIfNotBlank(tmp, properties, "virtualNetworkName");
copyVariable(tmp, properties, "subnetName");
if (StringUtils.isNotBlank((String) properties.get("virtualNetworkResourceGroupName"))) {
Expand Down

0 comments on commit f3448fe

Please sign in to comment.