From ec7aaac9d07c6e40f87851847ab31b9972d83a17 Mon Sep 17 00:00:00 2001 From: AlteredCoder Date: Fri, 22 May 2020 17:46:22 +0200 Subject: [PATCH] fix --- cmd/crowdsec/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/crowdsec/main.go b/cmd/crowdsec/main.go index 17e9afce3..c1d4b31e6 100644 --- a/cmd/crowdsec/main.go +++ b/cmd/crowdsec/main.go @@ -10,7 +10,7 @@ import ( "time" "github.com/crowdsecurity/crowdsec/pkg/acquisition" - config "github.com/crowdsecurity/crowdsec/pkg/csconfig" + "github.com/crowdsecurity/crowdsec/pkg/csconfig" "github.com/crowdsecurity/crowdsec/pkg/cwversion" leaky "github.com/crowdsecurity/crowdsec/pkg/leakybucket" "github.com/crowdsecurity/crowdsec/pkg/outputs" @@ -33,7 +33,7 @@ var ( holders []leaky.BucketFactory buckets *leaky.Buckets - cConfig *config.Crowdwatch + cConfig *csconfig.CrowdSec /*settings*/ lastProcessedItem time.Time /*keep track of last item timestamp in time-machine. it is used to GC buckets when we dump them.*/ @@ -85,7 +85,7 @@ func main() { inputLineChan := make(chan types.Event) inputEventChan := make(chan types.Event) - cConfig = config.NewCrowdwatchConfig() + cConfig = csconfig.NewCrowdSecConfig() // Handle command line arguments if err := cConfig.GetOPT(); err != nil {