Merge pull request #105 from ryck/fix/host-id-cli-option

Use StringFlag for COLLECTOR_HOST_ID
This commit is contained in:
Jason Kulatunga
2020-10-18 09:56:49 -06:00
committed by GitHub
@@ -161,9 +161,10 @@ OPTIONS:
EnvVars: []string{"COLLECTOR_DEBUG", "DEBUG"},
},
&cli.BoolFlag{
&cli.StringFlag{
Name: "host-id",
Usage: "Host identifier/label, used for grouping devices",
Value: "",
EnvVars: []string{"COLLECTOR_HOST_ID"},
},
},