Przeglądaj źródła

remove old crowdwatch ref

Thibault bui Koechlin 5 lat temu
rodzic
commit
8e6e17b8c0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pkg/cwapi/auth.go

+ 1 - 1
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
 }