mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
adjust etcd config comments
This commit is contained in:
parent
8c4d7e09ff
commit
6bafa989e0
1 changed files with 2 additions and 1 deletions
|
|
@ -56,8 +56,9 @@ func BuildServerFlags(cmd *cobra.Command, srv *server.Command) {
|
|||
flags.IntVar(&srv.Config.Translation.MapSize, "translation.map-size", srv.Config.Translation.MapSize, "Size in bytes of mmap to allocate for key translation.")
|
||||
|
||||
// Etcd
|
||||
// Etcd.Name used Config.Name for it's value.
|
||||
// Etcd.Name used Config.Name for its value.
|
||||
// Etcd.Dir defaults to a directory under the pilosa data directory.
|
||||
// Etcd.ClusterName uses Cluster.Name for its value
|
||||
flags.StringVar(&srv.Config.Etcd.LClientURL, "etcd.listen-client-address", srv.Config.Etcd.LClientURL, "Listen client address.")
|
||||
flags.StringVar(&srv.Config.Etcd.AClientURL, "etcd.advertise-client-address", srv.Config.Etcd.AClientURL, "Advertise client address. If not provided, uses the listen client address.")
|
||||
flags.StringVar(&srv.Config.Etcd.LPeerURL, "etcd.listen-peer-address", srv.Config.Etcd.LPeerURL, "Listen peer address.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue