fix
This commit is contained in:
parent
68ccbd1f69
commit
74dd723ebf
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ func initConfig() {
|
|||
if err := csConfig.GetOPT(); err != nil {
|
||||
log.Fatalf(err.Error())
|
||||
}
|
||||
config.configFolder = filepath.Join(filepath.Clean(csConfig.csCliFolder))
|
||||
config.configFolder = filepath.Join(filepath.Clean(csConfig.CsCliFolder))
|
||||
|
||||
if strings.HasPrefix(config.configFolder, "~/") {
|
||||
usr, err := user.Current()
|
||||
|
|
|
@ -31,7 +31,7 @@ type CrowdSec struct {
|
|||
Profiling bool `yaml:"profiling,omitempty"` //true -> enable runtime profiling
|
||||
SQLiteFile string `yaml:"sqlite_path,omitempty"` //path to sqlite output
|
||||
APIMode bool `yaml:"apimode,omitempty"` //true -> enable api push
|
||||
csCliFolder string `yaml:"cscli_dir"` //cscli folder
|
||||
CsCliFolder string `yaml:"cscli_dir"` //cscli folder
|
||||
Linter bool
|
||||
Prometheus bool
|
||||
HTTPListen string `yaml:"http_listen,omitempty"`
|
||||
|
|
Loading…
Add table
Reference in a new issue