Skip to content

Commit

Permalink
fix rootca flag
Browse files Browse the repository at this point in the history
  • Loading branch information
marriva committed Dec 28, 2023
1 parent 84a26d6 commit e9f0c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func init() {
kingpin.Flag("address", "A list of Clickhouse hosts").
Default(defaultChHost).StringsVar(&hostnames)
kingpin.Flag("root-ca", "Path to root CA").
Default(defaultChRootCA).Envar("CH_ROOT_CA").StringsVar(&hostnames)
Default(defaultChRootCA).Envar("CH_ROOT_CA").StringVar(&rootCA)
kingpin.Flag("connect-timeout", "").
Default(defaultTimeoutConnect).
Envar("CH_CONNECT_TIMEOUT").DurationVar(&connectTimeout)
Expand Down

0 comments on commit e9f0c22

Please sign in to comment.