Skip to content

Commit

Permalink
Update slasher/detection/service.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapka authored Jan 26, 2021
1 parent 5d9cb61 commit 3e180d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slasher/detection/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type Config struct {
HistoricalDetection bool
}

// New instantiation.
// New instantiates a new service.
func New(ctx context.Context, cfg *Config) *Service {
ctx, cancel := context.WithCancel(ctx)
return &Service{
Expand Down

0 comments on commit 3e180d4

Please sign in to comment.