Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Nov 12, 2023
1 parent 4d9779d commit a320ca0
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 14 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ linters:
- golint
- gomnd
- ifshort
- inamedparam
- interfacer
- ireturn
- lll
Expand Down
2 changes: 1 addition & 1 deletion services/beaconcommittees/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/blocks/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/chaindb/postgresql/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/chaintime/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/eth1deposits/getlogs/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/finalizer/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/metrics/prometheus/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/proposerduties/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/scheduler/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/spec/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/summarizer/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/synccommittees/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down
2 changes: 1 addition & 1 deletion services/validators/standard/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type parameters struct {

// Parameter is the interface for service parameters.
type Parameter interface {
apply(*parameters)
apply(p *parameters)
}

type parameterFunc func(*parameters)
Expand Down

0 comments on commit a320ca0

Please sign in to comment.