Skip to content

Commit

Permalink
fix: incorrect error message for builtin email pkg introduced by #51
Browse files Browse the repository at this point in the history
Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
  • Loading branch information
rbeuque74 committed Feb 27, 2020
1 parent b7516dc commit 0692d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugins/builtin/email/email.go
Expand Up @@ -49,7 +49,7 @@ func validConfig(config interface{}) error {
}

if cfg.SMTPPort == "" {
return errors.New("smtp_password is missing")
return errors.New("smtp_port is missing")
}

if _, err := strconv.ParseUint(cfg.SMTPPort, 10, 64); err != nil {
Expand Down

0 comments on commit 0692d57

Please sign in to comment.