From 9460f70fa51c9c27d771252a8bf35e3e7c8f5b66 Mon Sep 17 00:00:00 2001
From: Guba Sándor <guba.sandor@cloud.bme.hu>
Date: Wed, 27 Aug 2014 15:49:25 +0200
Subject: [PATCH] vm: fix operation texts

---
 circle/vm/operations.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/circle/vm/operations.py b/circle/vm/operations.py
index 35baa33..beddc28 100644
--- a/circle/vm/operations.py
+++ b/circle/vm/operations.py
@@ -262,7 +262,7 @@ class DeployOperation(InstanceOperation):
     def on_commit(self, activity):
         activity.resultant_state = 'RUNNING'
         activity.result = create_readable(
-            ugettext_noop("virtual machine succesfully "
+            ugettext_noop("virtual machine successfully "
                           "deployed to node: %(node)s"),
             node=self.instance.node)
 
@@ -279,9 +279,11 @@ class DeployOperation(InstanceOperation):
 
         # Deploy VM on remote machine
         if self.instance.state not in ['PAUSED']:
+            rn = create_readable(ugettext_noop("deploy virtual machine"),
+                                 ugettext_noop("deploy vm to %(node)s"),
+                                 node=self.instance.node)
             with activity.sub_activity(
-                'deploying_vm', readable_name=ugettext_noop(
-                    "deploy virtual machine")) as deploy_act:
+                    'deploying_vm', readable_name=rn) as deploy_act:
                 deploy_act.result = self.instance.deploy_vm(timeout=timeout)
 
         # Establish network connection (vmdriver)
--
libgit2 0.26.0