remove old crowdwatch ref

This commit is contained in:
Thibault bui Koechlin 2020-06-17 19:27:32 +02:00
parent 0dca57ab6a
commit 8e6e17b8c0

View file

@ -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
}