Skip to content

Commit

Permalink
Merge pull request #226 from fstagni/updateAddPilot
Browse files Browse the repository at this point in the history
fix: always use the VO instead of the group for dirac-admin-add-pilot
  • Loading branch information
fstagni authored Jan 24, 2024
2 parents e0138d6 + d35bb5d commit 9412031
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 @@ -649,17 +649,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 9412031

Please sign in to comment.