Skip to content

Commit 4cba6a5

Browse files
committed
fix linting
1 parent 8ac1737 commit 4cba6a5

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

pkg/events/events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ type Processor struct {
7575

7676
func NewProcessor(sub substrate.Manager, cb Callback, state State) *Processor {
7777
return &Processor{
78-
update: make(chan substrate.Manager, 0),
78+
update: make(chan substrate.Manager),
7979
sub: sub,
8080
cb: cb,
8181
state: state,

pkg/perf/exec_wrapper/exec_wrapper.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,3 @@ type RealExecCmd struct {
3838
func (r *RealExecCmd) CombinedOutput() ([]byte, error) {
3939
return r.cmd.CombinedOutput()
4040
}
41-
42-
// Global instance that can be overridden in tests
43-
var execWrapper ExecWrapper = &RealExecWrapper{}

pkg/perf/exec_wrapper/mock_exec_wrapper.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)