check for the correct rights
authorTony Mack <tmack@cs.princeton.edu>
Fri, 1 May 2009 01:03:02 +0000 (01:03 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 1 May 2009 01:03:02 +0000 (01:03 +0000)
geni/methods/stop_slice.py

index ab5e165..fbb4c3f 100644 (file)
@@ -26,8 +26,8 @@ class stop_slice(Method):
     
     def call(self, cred, hrn):
        
-        self.api.auth.check(cred, 'startslice')
+        self.api.auth.check(cred, 'stopslice')
         slices = Slices(self.api)
-        slices.stop_slice(hrn):
+        slices.stop_slice(hrn)
         
         return 1