Signed-off-by: Ian Main <imain(a)redhat.com>
---
src/task-omatic/taskomatic_instance.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/task-omatic/taskomatic_instance.rb
b/src/task-omatic/taskomatic_instance.rb
index 05186e3..5159a79 100644
--- a/src/task-omatic/taskomatic_instance.rb
+++ b/src/task-omatic/taskomatic_instance.rb
@@ -46,8 +46,8 @@ class TaskomaticInstanceCreate < TaskomaticTask
puts "client is #{client.type}"
@logger.info "Creating instance with name #{(a)task.instance.image.external_key},
flavor #{(a)task.instance.flavor.name}, realm #{(a)task.instance.realm.name}"
dcloud_instance = client.create_instance((a)task.instance.image.external_key)
- #:flavor =>
@task.instance.image.external_key,
- #:realm =>
@task.instance.image.external_key)
+ :flavor =>
@task.instance.flavor.external_key,
+ :realm =>
@task.instance.realm.external_key)
@logger.info "Instance created with key #{dcloud_instance.id} and state
#{dcloud_instance.state}"
@task.instance.external_key = dcloud_instance.id
@task.instance.state = dcloud_to_instance_state(dcloud_instance.state)
--
1.6.2.5
Show replies by date