Skip to content

Commit

Permalink
Merge pull request DIRACGrid#7181 from chaen/vomsMail
Browse files Browse the repository at this point in the history
[v8.0] feat (VOMS2CS): only send a mail if something changed
  • Loading branch information
fstagni authored Aug 29, 2023
2 parents 93f4965 + 4ca2f60 commit c8be7f8
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 c8be7f8

Please sign in to comment.