From 154aa5f41cf6c27749967be276cf3af55cd8bf31 Mon Sep 17 00:00:00 2001 From: Mohamed Larabi Date: Thu, 11 Oct 2012 16:58:22 +0200 Subject: [PATCH] Nitos: fix addUserKey call in verify_users() --- sfa/nitos/nitosslices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/nitos/nitosslices.py b/sfa/nitos/nitosslices.py index 6ad0e97e..2edd2092 100644 --- a/sfa/nitos/nitosslices.py +++ b/sfa/nitos/nitosslices.py @@ -192,7 +192,7 @@ class NitosSlices: added_users.append(user_id) # add user keys for key in user['keys']: - self.driver.shell.addUserKey({'user_id': user_id, 'key': key}) + self.driver.shell.addUserKey({'user_id': user_id, 'key': key, 'slice_id': slice['slice_id']}) # add the user to the slice self.driver.shell.addUserToSlice({'slice_id': slice['slice_id'], 'user_id': user_id}) else: -- 2.47.0