Skip to content

Commit

Permalink
fwk/internal/fwktest: apply staticcheck cosmetic change
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Binet <binet@cern.ch>
  • Loading branch information
sbinet committed May 10, 2022
1 parent f81a84e commit 2d8ce49
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fwk/internal/fwktest/reducer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ type reducer struct {
}

func (tsk *reducer) Configure(ctx fwk.Context) error {
var err error

err = tsk.DeclInPort(tsk.input, reflect.TypeOf(int64(0)))
err := tsk.DeclInPort(tsk.input, reflect.TypeOf(int64(0)))
if err != nil {
return err
}
Expand Down

0 comments on commit 2d8ce49

Please sign in to comment.