mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
reduce log verbosity, minor CI fixes, lint (#3157)
* pkg/cwhub: redundant log messages * CI: fixture output and elapsed time * CI: preload only essential hub items * report full version (including -rc2 etc.) with cscli hub update --debug * lint
This commit is contained in:
parent
6f5d75c5f1
commit
136dba61d9
19 changed files with 119 additions and 100 deletions
|
@ -2,7 +2,7 @@ package csplugin
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"errors"
|
||||
|
||||
plugin "github.com/hashicorp/go-plugin"
|
||||
"google.golang.org/grpc"
|
||||
|
@ -35,7 +35,7 @@ func (m *GRPCClient) Notify(ctx context.Context, notification *protobufs.Notific
|
|||
return &protobufs.Empty{}, err
|
||||
|
||||
case <-ctx.Done():
|
||||
return &protobufs.Empty{}, fmt.Errorf("timeout exceeded")
|
||||
return &protobufs.Empty{}, errors.New("timeout exceeded")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue