ProtoGENI requires the second argument to be a list of credentials
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 11 Oct 2011 18:17:26 +0000 (14:17 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 11 Oct 2011 18:17:26 +0000 (14:17 -0400)
sfa/managers/slice_manager_pl.py

index 7ed75ed..d5bfdeb 100644 (file)
@@ -204,7 +204,7 @@ def CreateSliver(api, xrn, creds, rspec_str, users, call_id):
                 rspec.filter(filter)
                 rspec = rspec.toxml()
                 requested_users = sfa_to_pg_users_arg(users)
-            args = [xrn, credential, rspec, requested_users]
+            args = [xrn, [credential], rspec, requested_users]
             if _call_id_supported(api, server):
                 args.append(call_id)
             rspec = server.CreateSliver(*args)