lib/azure/armrest/virtual_machine_service.rb in azure-armrest-0.4.2 vs lib/azure/armrest/virtual_machine_service.rb in azure-armrest-0.5.0
- old
+ new
@@ -26,11 +26,10 @@
unless version
raise ArgumentError, "Unable to find resources for #{namespace}"
end
url = url_with_api_version(
- version, @base_url, 'subscriptions', configuration.subscription_id,
- 'providers', provider, 'locations', location, 'vmSizes'
+ version, base_url, 'providers', provider, 'locations', location, 'vmSizes'
)
JSON.parse(rest_get(url))['value'].map{ |hash| VirtualMachineSize.new(hash) }
end