Skip to content

Commit

Permalink
chore(deps): Bumping mailer in the meantime
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Oct 3, 2021
1 parent 5cb7986 commit 27ea042
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cmd/ketchup/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func main() {
logger.Fatal(err)
defer ketchupDb.Close()

redisApp := redis.New(redisConfig)
redisApp := redis.New(redisConfig, prometheusApp.Registerer())

healthApp := health.New(healthConfig, ketchupDb.Ping, redisApp.Ping)

Expand All @@ -108,7 +108,7 @@ func main() {
repositoryServiceApp := repositoryService.New(repositoryStore.New(ketchupDb), githubApp, helmApp, dockerApp, npmApp, pypiApp)
ketchupServiceApp := ketchupService.New(ketchupStore.New(ketchupDb), repositoryServiceApp)

mailerApp, err := mailer.New(mailerConfig)
mailerApp, err := mailer.New(mailerConfig, prometheusApp.Registerer())
logger.Fatal(err)
defer mailerApp.Close()

Expand Down
2 changes: 1 addition & 1 deletion cmd/notifier/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main() {
logger.Fatal(err)
defer ketchupDb.Close()

mailerApp, err := mailer.New(mailerConfig)
mailerApp, err := mailer.New(mailerConfig, nil)
logger.Fatal(err)
defer mailerApp.Close()

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.17
require (
github.com/ViBiOh/auth/v2 v2.11.13
github.com/ViBiOh/httputils/v4 v4.25.3
github.com/ViBiOh/mailer v1.26.1
github.com/ViBiOh/mailer v1.26.2
github.com/golang/mock v1.6.0
github.com/jackc/pgconn v1.10.0
github.com/jackc/pgproto3/v2 v2.1.1
Expand Down
7 changes: 2 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/ViBiOh/auth/v2 v2.11.13 h1:aFnrlc15/WZ3Zixe5jl4rSRCLQuPwf7SYVdCfyJroR0=
github.com/ViBiOh/auth/v2 v2.11.13/go.mod h1:KiIxfyzPhLliArhh1tfHGijYtlz4O2UBgmc8AGaOb2U=
github.com/ViBiOh/httputils/v4 v4.25.1/go.mod h1:y4waNFK8VE1B96OFIWQfBZKSCKUQkCSsz2T5gXcUGbw=
github.com/ViBiOh/httputils/v4 v4.25.3 h1:+zZWbTBY5/POs/8qS6GV7tmGScHpuNNlkeiKavAdj1Y=
github.com/ViBiOh/httputils/v4 v4.25.3/go.mod h1:y4waNFK8VE1B96OFIWQfBZKSCKUQkCSsz2T5gXcUGbw=
github.com/ViBiOh/mailer v1.26.1 h1:7awbjKRPrFksvtEQV/mH4REcc5Bz8rs/kX+OpA4OUsk=
github.com/ViBiOh/mailer v1.26.1/go.mod h1:PfqItdL3IHMXzEh/l0qK3ZPRFbMaiTChbKFjrU5UcOo=
github.com/ViBiOh/mailer v1.26.2 h1:9rN3CzvS5B2ZfEs9eKfD41Q3WxVS6ZQrnXcqJIOrL4Q=
github.com/ViBiOh/mailer v1.26.2/go.mod h1:h1XN26Pz1wJelDVCQZnprq59pvTkhXRb/fhGj8QrA1c=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
Expand Down Expand Up @@ -74,7 +73,6 @@ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/jackc/chunkreader v1.0.0 h1:4s39bBR8ByfqH+DKm8rQA3E1LHZWB9XWcrz8fqaZbe0=
github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo=
github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk=
github.com/jackc/chunkreader/v2 v2.0.1 h1:i+RDz65UE+mmpjTfyz0MoVTnzeYxroil2G82ki7MGG8=
Expand All @@ -95,7 +93,6 @@ github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 h1:DadwsjnMwFjfWc9y5W
github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak=
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
github.com/jackc/pgproto3 v1.1.0 h1:FYYE4yRw+AgI8wXIinMlNjBbp/UitDJwfj5LqqewP1A=
github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78=
github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA=
github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg=
Expand Down

0 comments on commit 27ea042

Please sign in to comment.