Skip to content

Commit

Permalink
default empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
joway committed Jul 30, 2018
1 parent e4caa00 commit 343af09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func main() {
kingpin.Flag("tls.key-file", "The optional key file for client authentication.").Default("").StringVar(&opts.tlsKeyFile)
kingpin.Flag("tls.insecure-skip-tls-verify", "If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.").Default("false").BoolVar(&opts.tlsInsecureSkipTLSVerify)
kingpin.Flag("kafka.version", "Kafka broker version").Default(sarama.V1_0_0_0.String()).StringVar(&opts.kafkaVersion)
kingpin.Flag("kafka.labels", "Kafka cluster name").Default(sarama.V1_0_0_0.String()).StringVar(&opts.labels)
kingpin.Flag("kafka.labels", "Kafka cluster name").Default("").StringVar(&opts.labels)

plog.AddFlags(kingpin.CommandLine)
kingpin.Version(version.Print("kafka_exporter"))
Expand Down

0 comments on commit 343af09

Please sign in to comment.