fix type error
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 20 Oct 2012 00:11:32 +0000 (20:11 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 20 Oct 2012 00:11:32 +0000 (20:11 -0400)
sfa/methods/Shutdown.py

index e532d1d..53c406d 100644 (file)
@@ -13,7 +13,7 @@ class Shutdown(Method):
     interfaces = ['aggregate', 'slicemgr']
     accepts = [
         Parameter(str, "Slice URN"),
-        Parameter(dict, "Credentials"),
+        Parameter(type([dict]), "Credentials"),
         ]
     returns = Parameter(bool, "Success or Failure")