Skip to content

Commit

Permalink
fix: always use the VO instead of the group for dirac-admin-add-pilot
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Jan 17, 2024
1 parent d7da5b0 commit d35bb5d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Pilot/pilotCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,17 +641,12 @@ def execute(self):
self.log.info("Skipping module")
return

if self.pp.useServerCertificate:
pilotOwnerGroup = "certificate_group"
else:
pilotOwnerGroup = self.pp.userGroup or self.pp.wnVO

if self.pp.localConfigFile:
self.cfg.extend(["--cfg", self.pp.localConfigFile]) # this file is as input

checkCmd = "dirac-admin-add-pilot %s %s %s %s --status=Running %s -d" % (
self.pp.pilotReference,
pilotOwnerGroup,
self.pp.wnVO,
self.pp.flavour,
self.pilotStamp,
" ".join(self.cfg),
Expand Down

0 comments on commit d35bb5d

Please sign in to comment.