commit | 53d20f288e28b2e0c37930cf81a03feb63fcf2bf | [log] [tgz] |
---|---|---|
author | Eric Boren <borenet@google.com> | Tue Aug 02 10:11:33 2022 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Aug 02 14:23:30 2022 +0000 |
tree | ffb83ce8aeb209721fd60b7a0a16b503df917bde | |
parent | 6dcbd84d3ed44850052c4779391febd8dde9c19e [diff] |
[autoroll] Fix email Logic error in https://skia-review.googlesource.com/c/buildbot/+/556363 Bug: skia:13596 Change-Id: Ia9a54e905d1c241950c7b16a59fe88c6e545be0b Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/564498 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Eric Boren <borenet@google.com>
diff --git a/go/notifier/notifier.go b/go/notifier/notifier.go index 6c1bdbd..f49e803 100644 --- a/go/notifier/notifier.go +++ b/go/notifier/notifier.go
@@ -166,7 +166,7 @@ // See documentation for Notifier interface. func (n *emailNotifier) Send(_ context.Context, subject string, msg *Message) error { - if n.emailer.Valid() { + if !n.emailer.Valid() { sklog.Warning("No gmail API client; cannot send email!") return nil }