mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
decouple bouncer dependencies: use go-cs-lib/pkg/* (#2216)
* decouple bouncer dependencies: use go-cs-lib/pkg/trace * decouple bouncer dependencies: use go-cs-lib/pkg/version * decouple bouncer dependencies: use go-cs-lib/pkg/yamlpatch * decouple bouncer dependencies: use go-cs-lib/pkg/csstring * unused import
This commit is contained in:
parent
eddb994c0b
commit
534328ca30
59 changed files with 191 additions and 1297 deletions
|
@ -11,8 +11,9 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/crowdsecurity/go-cs-lib/pkg/version"
|
||||
|
||||
middlewares "github.com/crowdsecurity/crowdsec/pkg/apiserver/middlewares/v1"
|
||||
"github.com/crowdsecurity/crowdsec/pkg/cwversion"
|
||||
"github.com/crowdsecurity/crowdsec/pkg/models"
|
||||
"github.com/crowdsecurity/crowdsec/pkg/types"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
@ -33,7 +34,7 @@ var MachineTest = models.WatcherAuthRequest{
|
|||
Password: &testPassword,
|
||||
}
|
||||
|
||||
var UserAgent = fmt.Sprintf("crowdsec-test/%s", cwversion.Version)
|
||||
var UserAgent = fmt.Sprintf("crowdsec-test/%s", version.Version)
|
||||
var emptyBody = strings.NewReader("")
|
||||
|
||||
func LoadTestConfig() csconfig.Config {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue