From 8e6e17b8c0ddb46ac0968f7b25dc6b35ffc2be65 Mon Sep 17 00:00:00 2001 From: Thibault bui Koechlin Date: Wed, 17 Jun 2020 19:27:32 +0200 Subject: [PATCH] remove old crowdwatch ref --- pkg/cwapi/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cwapi/auth.go b/pkg/cwapi/auth.go index eabdafc54..111d4c669 100644 --- a/pkg/cwapi/auth.go +++ b/pkg/cwapi/auth.go @@ -96,7 +96,7 @@ func (ctx *ApiCtx) LoadConfig(cfg string) error { log.Warningf("!API paths must not be prefixed by /") } - ctx.Http = sling.New().Base(ctx.BaseURL+"/"+ctx.ApiVersion+"/").Set("User-Agent", fmt.Sprintf("CrowdWatch/%s", cwversion.VersionStr())) + ctx.Http = sling.New().Base(ctx.BaseURL+"/"+ctx.ApiVersion+"/").Set("User-Agent", fmt.Sprintf("Crowdsec/%s", cwversion.VersionStr())) log.Printf("api load configuration: configuration loaded successfully (base:%s)", ctx.BaseURL+"/"+ctx.ApiVersion+"/") return nil }