Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timwu20 committed Nov 25, 2021
1 parent 9c20ac9 commit c81c438
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devnet/cmd/update-dd-agent-confd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

type options struct {
Namespace string `short:"n" long:"namespace" description:"namespace that is prepended to all metrics" required:"true"`
Namespace string `short:"n" long:"namespace" description:"namespace that is prepended to all metrics" required:"true"` //nolint:lll
Tags []string `short:"t" long:"tags" description:"tags that are added to all metrics"`
}

Expand Down
6 changes: 5 additions & 1 deletion lib/grandpa/grandpa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,11 @@ func addBlocksToState(t *testing.T, blockState *state.BlockState, depth int) {
}
}

func addBlocksAndReturnTheLastOne(t *testing.T, blockState *state.BlockState, depth int, lastBlockArrivalTime time.Time) *types.Block {
func addBlocksAndReturnTheLastOne(
t *testing.T, blockState *state.BlockState,
depth int,
lastBlockArrivalTime time.Time,
) *types.Block {
t.Helper()
addBlocksToState(t, blockState, depth)

Expand Down

0 comments on commit c81c438

Please sign in to comment.