Allow plugins to load environment variable (#1727)

* Allow plugins to load environment variable
This commit is contained in:
AlteredCoder 2022-09-08 11:41:28 +02:00 committed by GitHub
parent f3317f78d5
commit b06167a3fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 1 deletions

View file

@ -79,6 +79,7 @@ func (n *EmailPlugin) Configure(ctx context.Context, config *protobufs.Config) (
}
n.ConfigByName[d.Name] = d
baseLogger.Debug(fmt.Sprintf("Email plugin '%s' use SMTP host '%s:%d'", d.Name, d.SMTPHost, d.SMTPPort))
return &protobufs.Empty{}, nil
}