Skip to content

Commit

Permalink
sweep: DIRACGrid#7181 feat (VOMS2CS): only send a mail if something c…
Browse files Browse the repository at this point in the history
…hanged
  • Loading branch information
chaen authored and web-flow committed Aug 29, 2023
1 parent 65f54f8 commit 0160a01
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 0160a01

Please sign in to comment.