Bump github.com/go-micro/plugins/v4/server/http from 1.2.1 to 1.2.2

Bumps [github.com/go-micro/plugins/v4/server/http](https://github.com/go-micro/plugins) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v4/logger/zap/v1.2.1...v4/server/http/v1.2.2)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/server/http
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2023-08-31 09:39:15 +02:00
committed by Ralf Haferkamp
parent a049a2984c
commit 59903e7662
5 changed files with 15 additions and 10 deletions
+5
View File
@@ -6,6 +6,7 @@ import (
"go-micro.dev/v4/broker"
"go-micro.dev/v4/codec"
"go-micro.dev/v4/logger"
"go-micro.dev/v4/registry"
"go-micro.dev/v4/server"
)
@@ -23,6 +24,10 @@ func newOptions(opt ...server.Option) server.Options {
o(&opts)
}
if opts.Logger == nil {
opts.Logger = logger.DefaultLogger
}
if opts.Broker == nil {
opts.Broker = broker.DefaultBroker
}