diff options
-rw-r--r-- | config.json | 2 | ||||
-rw-r--r-- | flow-cleaner.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config.json b/config.json index c2f8b00..aeeab01 100644 --- a/config.json +++ b/config.json @@ -8,7 +8,7 @@ "comment Epsilon": "Epsilon is the epsilon value for differential privacy. epsilon < 1 high privacy, 10 < epsilon low privacy. If epsilon is set to 0, differential privacy will not be used.", "epsilon": 0, - "comment Verbose": "Enables extra output. Primarily used for debugging" + "comment Verbose": "Enables extra output. Primarily used for debugging", "verbose": true, "comment dataSource": "dataSource is from where the program should read and process data. Currently only mysql and stdin is supported.", diff --git a/flow-cleaner.go b/flow-cleaner.go index 1046f5c..8821abe 100644 --- a/flow-cleaner.go +++ b/flow-cleaner.go @@ -20,11 +20,11 @@ func init() { func main() { flogger.Println("Now running Flow-cleaner") cfg, err := readConfig() - VERBOSE = cfg.Verbose if err != nil { flogger.Println("Could not read config") return } + VERBOSE = cfg.Verbose switch cfg.DataSource { case "stdin": |