We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6524a3 + d715163 commit f4bad06Copy full SHA for f4bad06
elastalert/alerts.py
@@ -794,9 +794,9 @@ def alert(self, matches):
794
except JIRAError as e:
795
logging.exception("Error while commenting on ticket %s: %s" % (ticket, e))
796
if self.labels:
797
- for l in self.labels:
+ for label in self.labels:
798
try:
799
- ticket.fields.labels.append(l)
+ ticket.fields.labels.append(label)
800
801
logging.exception("Error while appending labels to ticket %s: %s" % (ticket, e))
802
if self.transition:
0 commit comments