Skip to content

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anuchandy committed Mar 22, 2017
1 parent 51ce95e commit 2103324
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public interface AvailabilitySet extends
/**
* @return the virtual machine sizes supported in the availability set
*/
PagedList<VirtualMachineSize> getVirtualMachineSizes();
PagedList<VirtualMachineSize> listVirtualMachineSizes();


// Fluent interfaces
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public List<InstanceViewStatus> statuses() {
}

@Override
public PagedList<VirtualMachineSize> getVirtualMachineSizes() {
public PagedList<VirtualMachineSize> listVirtualMachineSizes() {
return Utils.toPagedList(this.manager()
.inner()
.availabilitySets()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public AvailabilitySet createResource(AvailabilitySets availabilitySets) throws
.withUpdateDomainCount(4)
.withTag("tag1", "value1")
.create();
PagedList<VirtualMachineSize> vmSizes = aset.getVirtualMachineSizes();
PagedList<VirtualMachineSize> vmSizes = aset.listVirtualMachineSizes();
Assert.assertTrue(vmSizes.size() > 0);
for (VirtualMachineSize vmSize : vmSizes) {
Assert.assertNotNull(vmSize.name());
Expand Down

0 comments on commit 2103324

Please sign in to comment.