incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1359996 - /incubator/tashi/trunk/src/tashi/client/tashi-client.py
Date Wed, 11 Jul 2012 02:42:04 GMT
Author: stroucki
Date: Wed Jul 11 02:42:03 2012
New Revision: 1359996

URL: http://svn.apache.org/viewvc?rev=1359996&view=rev
Log:
tashi-client: check for permissions when doing destroyMany or shutdownMany

Modified:
    incubator/tashi/trunk/src/tashi/client/tashi-client.py

Modified: incubator/tashi/trunk/src/tashi/client/tashi-client.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/client/tashi-client.py?rev=1359996&r1=1359995&r2=1359996&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/client/tashi-client.py (original)
+++ incubator/tashi/trunk/src/tashi/client/tashi-client.py Wed Jul 11 02:42:03 2012
@@ -230,6 +230,9 @@ def __shutdownOrDestroyMany(method, base
 	count = 0
 	for i in instances:
 		if (i.name.startswith(basename + "-") and i.name[len(basename)+1].isdigit()):
+			# checking permissions here
+			checkIid(i.name)
+
 			if method == "shutdown":
 				client.shutdownVm(i.id)
 



Mime
View raw message