Bump actions/setup-go from 2 to 3 #109

Merged
dependabot[bot] merged 2 commits from dependabot/github_actions/actions/setup-go-3 into v3 2022-04-11 23:03:50 +03:00
Showing only changes of commit a6fc5673b1 - Show all commits

View File

@ -585,9 +585,6 @@ func (g *grpcServer) Options() server.Options {
} }
func (g *grpcServer) Init(opts ...server.Option) error { func (g *grpcServer) Init(opts ...server.Option) error {
if len(opts) == 0 {
return nil
}
return g.configure(opts...) return g.configure(opts...)
} }
@ -719,6 +716,7 @@ func (g *grpcServer) Register() error {
} }
opts = append(opts, broker.SubscribeContext(subCtx)) opts = append(opts, broker.SubscribeContext(subCtx))
opts = append(opts, broker.SubscribeAutoAck(sb.Options().AutoAck)) opts = append(opts, broker.SubscribeAutoAck(sb.Options().AutoAck))
opts = append(opts, broker.SubscribeBodyOnly(sb.Options().BodyOnly))
if config.Logger.V(logger.InfoLevel) { if config.Logger.V(logger.InfoLevel) {
config.Logger.Infof(config.Context, "Subscribing to topic: %s", sb.Topic()) config.Logger.Infof(config.Context, "Subscribing to topic: %s", sb.Topic())