We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4720720 commit dd88eeaCopy full SHA for dd88eea
internal/worker/app.go
@@ -37,11 +37,11 @@ func module() fx.Option {
37
server.Module(),
38
fx.Invoke(func(logger *zap.Logger, lc fx.Lifecycle) {
39
lc.Append(fx.Hook{
40
- OnStart: func(ctx context.Context) error {
+ OnStart: func(_ context.Context) error {
41
logger.Info("worker started")
42
return nil
43
},
44
- OnStop: func(ctx context.Context) error {
+ OnStop: func(_ context.Context) error {
45
logger.Info("worker stopped")
46
47
internal/worker/config/config.go
@@ -32,6 +32,7 @@ type DevicesCleanup struct {
32
}
33
34
func Default() Config {
35
+ //nolint:exhaustruct,mnd // default values
36
return Config{
Tasks: Tasks{
MessagesHashing: MessagesHashing{
0 commit comments