Skip to content

Commit

Permalink
Merge pull request #1171 from anuchandy/samples-fix
Browse files Browse the repository at this point in the history
Fixing sample to use the correct backend
  • Loading branch information
Martin Sawicki committed Oct 6, 2016
2 parents 5e747bd + 0c0c68a commit 25f6554
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public static void main(String[] args) {
.withAddressPrefix("172.16.1.0/24")
.withExistingNetworkSecurityGroup(frontendNSG)
.attach()
.defineSubnet("Back-End")
.defineSubnet("Back-end")
.withAddressPrefix("172.16.2.0/24")
.withExistingNetworkSecurityGroup(backendNSG)
.attach()
Expand Down Expand Up @@ -211,7 +211,7 @@ public static void main(String[] args) {
.withRegion(Region.US_EAST)
.withExistingResourceGroup(resourceGroup)
.withExistingPrimaryNetwork(network)
.withSubnet("Backend-end")
.withSubnet("Back-end")
.withPrimaryPrivateIpAddressDynamic()
.withoutPrimaryPublicIpAddress()
.withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
Expand Down

0 comments on commit 25f6554

Please sign in to comment.