mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
client: use closed variable in append
This commit is contained in:
@@ -403,15 +403,15 @@ func (e envoyBootstrapArgs) args() []string {
|
||||
}
|
||||
|
||||
if v := e.sidecarFor; v != "" {
|
||||
arguments = append(arguments, "-sidecar-for", e.sidecarFor)
|
||||
arguments = append(arguments, "-sidecar-for", v)
|
||||
}
|
||||
|
||||
if v := e.gateway; v != "" {
|
||||
arguments = append(arguments, "-gateway", e.gateway)
|
||||
arguments = append(arguments, "-gateway", v)
|
||||
}
|
||||
|
||||
if v := e.proxyID; v != "" {
|
||||
arguments = append(arguments, "-proxy-id", e.proxyID)
|
||||
arguments = append(arguments, "-proxy-id", v)
|
||||
}
|
||||
|
||||
if v := e.siToken; v != "" {
|
||||
|
||||
Reference in New Issue
Block a user