Skip to content

Commit dd88eea

Browse files
committed
[lint] minor fixes
1 parent 4720720 commit dd88eea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/worker/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ func module() fx.Option {
3737
server.Module(),
3838
fx.Invoke(func(logger *zap.Logger, lc fx.Lifecycle) {
3939
lc.Append(fx.Hook{
40-
OnStart: func(ctx context.Context) error {
40+
OnStart: func(_ context.Context) error {
4141
logger.Info("worker started")
4242
return nil
4343
},
44-
OnStop: func(ctx context.Context) error {
44+
OnStop: func(_ context.Context) error {
4545
logger.Info("worker stopped")
4646
return nil
4747
},

internal/worker/config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type DevicesCleanup struct {
3232
}
3333

3434
func Default() Config {
35+
//nolint:exhaustruct,mnd // default values
3536
return Config{
3637
Tasks: Tasks{
3738
MessagesHashing: MessagesHashing{

0 commit comments

Comments
 (0)