incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1349041 - /incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py
Date Mon, 11 Jun 2012 21:52:23 GMT
Author: stroucki
Date: Mon Jun 11 21:52:22 2012
New Revision: 1349041

URL: http://svn.apache.org/viewvc?rev=1349041&view=rev
Log:
clustermanagerservice: don't risk that stateTransition may cause side-effects

Modified:
    incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py

Modified: incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py?rev=1349041&r1=1349040&r2=1349041&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py (original)
+++ incubator/tashi/trunk/src/tashi/clustermanager/clustermanagerservice.py Mon Jun 11 21:52:22
2012
@@ -636,7 +636,7 @@ class ClusterManagerService(object):
 		oldInstance.decayed = False
 
 		displayInstance = oldInstance
-		self.__stateTransition(displayInstance, None, instance.state)
+		displayInstance.state = instance.state
 		self.__ACCOUNT("CM VM UPDATE", instance=displayInstance)
 
 		if (instance.state == InstanceState.Exited):



Mime
View raw message