lib/azure/armrest/virtual_machine_service.rb in azure-armrest-0.0.2 vs lib/azure/armrest/virtual_machine_service.rb in azure-armrest-0.0.3

- old
+ new

@@ -128,14 +128,14 @@ raise ArgumentError, "no resource group provided" unless group body = { :vhdPrefix => prefix, - :destinationContainer => container, + :destinationContainerName => container, :overwriteVhds => overwrite }.to_json - url = build_url(group, 'capture') + url = build_url(group, vmname, 'capture') response = rest_post(url, body) response.return! end