From dbf038097796d169907bd7fc1ea603604de1bc18 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 1 May 2009 01:03:02 +0000 Subject: [PATCH] check for the correct rights --- geni/methods/stop_slice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geni/methods/stop_slice.py b/geni/methods/stop_slice.py index ab5e1652..fbb4c3f8 100644 --- a/geni/methods/stop_slice.py +++ b/geni/methods/stop_slice.py @@ -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 -- 2.43.0