Skip to content

Commit

Permalink
tech: migrates to none deprecated mail lib
Browse files Browse the repository at this point in the history
gomail is missing a maintainer so we are
switching to an active fork

ref go-gomail/gomail#108

closes grafana#7189
  • Loading branch information
bergquist committed Mar 27, 2018
1 parent 2743e8b commit f275598
Show file tree
Hide file tree
Showing 13 changed files with 186 additions and 227 deletions.
217 changes: 27 additions & 190 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ ignored = [
name = "golang.org/x/sync"

[[constraint]]
name = "gopkg.in/gomail.v2"
name = "gopkg.in/mail.v2"
branch = "v2"

[[constraint]]
Expand Down
2 changes: 1 addition & 1 deletion pkg/services/notifications/mailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/grafana/grafana/pkg/log"
m "github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/setting"
"gopkg.in/gomail.v2"
gomail "gopkg.in/mail.v2"
)

var mailQueue chan *Message
Expand Down
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f275598

Please sign in to comment.