Skip to content

Commit 498e658

Browse files
committed
Merge pull request #26 from h4wlt/master
Added extra API call and test for "migrate_virtual_machine_with_volume"
2 parents a57290b + 70b4e47 commit 498e658

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

lib/cloudstack_ruby_client/api/vm_api.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module VirtualMachine
1515
:change_service_for_virtual_machine,
1616
:assign_virtual_machine,
1717
:migrate_virtual_machine,
18+
:migrate_virtual_machine_with_volume,
1819
:recover_virtual_machine,
1920
:add_nic_to_virtual_machine,
2021
:remove_nic_from_virtual_machine,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module CloudstackRubyClient
2-
VERSION = "1.0.2"
2+
VERSION = "1.0.3"
33
end

test/unit/vm_test.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ def test_migrate_virtual_machine
103103
end
104104
end
105105

106+
def test_migrate_virtual_machine_with_volume
107+
assert_raise(ArgumentError) do
108+
@client.migrate_virtual_machine_with_volume
109+
end
110+
end
111+
106112
def test_recover_virtual_machine
107113
assert_raise(ArgumentError) do
108114
@client.recover_virtual_machine

0 commit comments

Comments
 (0)