Skip to content

Commit

Permalink
validation error if custom VNET + Windows (Azure#2168)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis authored and Terje Torkelsen committed Mar 15, 2018
1 parent d74a2e6 commit 93cf30a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/api/vlabs/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,9 @@ func validateVNET(a *Properties) error {
}
}
if isCustomVNET {
if a.HasWindows() {
return fmt.Errorf("custom VNET not yet supported with Windows-enabled clusters")
}
subscription, resourcegroup, vnetname, _, e := GetVNETSubnetIDComponents(a.MasterProfile.VnetSubnetID)
if e != nil {
return e
Expand Down

0 comments on commit 93cf30a

Please sign in to comment.