]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Add self to toolstackstart
authorJohn Dilley <john.dilley@citrix.com>
Mon, 16 Nov 2015 18:12:14 +0000 (18:12 +0000)
committerJohn Dilley <john.dilley@citrix.com>
Mon, 16 Nov 2015 18:12:14 +0000 (18:12 +0000)
exec/xenrt/lib/generic/instance.py

index d1388f2c2bd17a744fbe15900b5c349abd24f697..f9dc57fd271c0abbb51eb8114d5c175baf175e52 100644 (file)
@@ -113,7 +113,7 @@ class Instance(object):
     def _osParent_stop(self):
         self.stop()
 
-    def toolstackStart(on=None):
+    def toolstackStart(self, on=None):
         xenrt.xrtAssert(self.getPowerState() == xenrt.PowerState.down, "Power state before starting must be down")
         self.toolstack.startInstance(self, on)
         xenrt.xrtCheck(self.getPowerState() == xenrt.PowerState.up, "Power state after start should be up")