Skip to content

Commit b2e87f1

Browse files
committed
style: lint fix
1 parent d98f3b0 commit b2e87f1

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

pkg/types/partial.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ type partialDiffer struct {
7373

7474
currentState, targetState *state.KongState
7575
client *kong.Client
76-
77-
schemasCache *schema.Cache
78-
skipSchemaDefaults bool
76+
schemasCache *schema.Cache
77+
skipSchemaDefaults bool
7978
}
8079

8180
// Deletes generates a memdb CRUD DELETE event for Partials

pkg/types/plugin.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ type pluginDiffer struct {
9393

9494
currentState, targetState *state.KongState
9595
kongClient *kong.Client
96-
97-
schemasCache *schema.Cache
98-
skipSchemaDefaults bool
96+
schemasCache *schema.Cache
97+
skipSchemaDefaults bool
9998
}
10099

101100
func (d *pluginDiffer) Deletes(handler func(crud.Event) error) error {

pkg/utils/defaulter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,11 +391,11 @@ func NewNoOpDefaulter() *NoOpDefaulter {
391391
}
392392

393393
// Set does nothing and returns nil.
394-
func (d *NoOpDefaulter) Set(arg interface{}) error {
394+
func (d *NoOpDefaulter) Set(_ interface{}) error {
395395
return nil
396396
}
397397

398398
// MustSet does nothing.
399-
func (d *NoOpDefaulter) MustSet(arg interface{}) {
399+
func (d *NoOpDefaulter) MustSet(_ interface{}) {
400400
// No-op
401401
}

0 commit comments

Comments
 (0)