Skip to content

Commit

Permalink
Merge pull request #408 from liftbridge-io/remove_unused_flags
Browse files Browse the repository at this point in the history
Remove override logic for tls-client-* flags
  • Loading branch information
tylertreat authored May 9, 2022
2 parents 32a9875 + 706f864 commit 66ffb6e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ func overrideFromFlags(c *cli.Context, config *server.Config) error {
if c.IsSet("tls-key") {
config.TLSKey = c.String("tls-key")
}
if c.IsSet("tls-client-auth") {
config.TLSClientAuth = c.Bool("tls-client-auth")
}
if c.IsSet("tls-client-auth-ca") {
config.TLSClientAuthCA = c.String("tls-client-auth-ca")
}
if c.IsSet("nats-servers") {
natsServers, err := normalizeNatsServers(c.StringSlice("nats-servers"))
if err != nil {
Expand Down

0 comments on commit 66ffb6e

Please sign in to comment.