Skip to content

Commit

Permalink
fix wrong usage in cdc server cli flag, --cert-allowed-cn
Browse files Browse the repository at this point in the history
  • Loading branch information
ben1009 committed Apr 26, 2021
1 parent 370cfb1 commit 0398482
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ func addSecurityFlags(flags *pflag.FlagSet, isServer bool) {
flags.StringVar(&certPath, "cert", "", "Certificate path for TLS connection")
flags.StringVar(&keyPath, "key", "", "Private key path for TLS connection")
if isServer {
flags.StringVar(&allowedCertCN, "cert-allowed-cn", "", "Verify caller's identity "+
"(cert Common Name). Use `,` to separate multiple CN")
flags.StringVar(&allowedCertCN, "cert-allowed-cn", "", "Verify caller's identity (cert Common Name). Use , to separate multiple CN")
}
}

Expand Down

0 comments on commit 0398482

Please sign in to comment.