Skip to content

Commit

Permalink
Merge pull request #7182 from DIRACGridBot/cherry-pick-2-c8be7f885-in…
Browse files Browse the repository at this point in the history
…tegration

[sweep:integration] feat (VOMS2CS): only send a mail if something changed
  • Loading branch information
fstagni authored Aug 29, 2023
2 parents 65f54f8 + 0160a01 commit 538ad38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/ConfigurationSystem/Agent/VOMS2CSAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def execute(self):
if self.dryRun:
self.log.info("Dry Run: mail won't be sent")
self.log.info(mailMsg)
else:
elif voChanged:
NotificationClient().sendMail(
self.am_getOption("MailTo", voAdminMail), "VOMS2CSAgent run log", mailMsg, self.mailFrom
)
Expand Down

0 comments on commit 538ad38

Please sign in to comment.