Comment nits
This commit is contained in:
parent
d77f9e0583
commit
0c23acb818
|
@ -205,7 +205,7 @@ func (c *ServerCommand) Run(args []string) int {
|
|||
coreConfig.AdvertiseAddr = envAA
|
||||
}
|
||||
|
||||
// Attempt to detect the advertise address possible
|
||||
// Attempt to detect the advertise address, if possible
|
||||
var detect physical.AdvertiseDetect
|
||||
if coreConfig.HAPhysical != nil {
|
||||
detect, ok = coreConfig.HAPhysical.(physical.AdvertiseDetect)
|
||||
|
|
|
@ -365,7 +365,7 @@ func parseBackends(result *Config, list *ast.ObjectList) error {
|
|||
return multierror.Prefix(err, fmt.Sprintf("backend.%s:", key))
|
||||
}
|
||||
|
||||
// Pull out the advertise address since it's commong to all backends
|
||||
// Pull out the advertise address since it's common to all backends
|
||||
var advertiseAddr string
|
||||
if v, ok := m["advertise_addr"]; ok {
|
||||
advertiseAddr = v
|
||||
|
@ -398,7 +398,7 @@ func parseHABackends(result *Config, list *ast.ObjectList) error {
|
|||
return multierror.Prefix(err, fmt.Sprintf("ha_backend.%s:", key))
|
||||
}
|
||||
|
||||
// Pull out the advertise address since it's commong to all backends
|
||||
// Pull out the advertise address since it's common to all backends
|
||||
var advertiseAddr string
|
||||
if v, ok := m["advertise_addr"]; ok {
|
||||
advertiseAddr = v
|
||||
|
|
|
@ -185,7 +185,7 @@ All backends support the following options:
|
|||
nodes to when A is the active node and B and C are standby nodes. This may
|
||||
be the same address across nodes if using a load balancer or service
|
||||
discovery. Most HA backends will attempt to determine the advertise address
|
||||
if not provided. This can also be set via the `VAULT_ADVERTISE_ADDR`
|
||||
if not provided. This can also be overridden via the `VAULT_ADVERTISE_ADDR`
|
||||
environment variable.
|
||||
|
||||
#### Backend Reference: Consul
|
||||
|
|
Loading…
Reference in New Issue