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

Use StringFlag for COLLECTOR_HOST_ID
pull/132/head
Jason Kulatunga 4 years ago committed by GitHub
commit 404421bab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -161,9 +161,10 @@ OPTIONS:
EnvVars: []string{"COLLECTOR_DEBUG", "DEBUG"}, EnvVars: []string{"COLLECTOR_DEBUG", "DEBUG"},
}, },
&cli.BoolFlag{ &cli.StringFlag{
Name: "host-id", Name: "host-id",
Usage: "Host identifier/label, used for grouping devices", Usage: "Host identifier/label, used for grouping devices",
Value: "",
EnvVars: []string{"COLLECTOR_HOST_ID"}, EnvVars: []string{"COLLECTOR_HOST_ID"},
}, },
}, },

Loading…
Cancel
Save