mirror of https://github.com/linkerd/linkerd2.git
Remove double slash (#4985)
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
This commit is contained in:
parent
5804c15e6e
commit
0b649e3ed7
|
@ -84,7 +84,7 @@ func (pw *ProbeWorker) doProbe() {
|
||||||
Timeout: httpGatewayTimeoutMillis * time.Millisecond,
|
Timeout: httpGatewayTimeoutMillis * time.Millisecond,
|
||||||
}
|
}
|
||||||
|
|
||||||
req, err := http.NewRequest("GET", fmt.Sprintf("http://%s:%d/%s", pw.localGatewayName, pw.probeSpec.Port, pw.probeSpec.Path), nil)
|
req, err := http.NewRequest("GET", fmt.Sprintf("http://%s:%d%s", pw.localGatewayName, pw.probeSpec.Port, pw.probeSpec.Path), nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
pw.log.Errorf("Could not create a GET request to gateway: %s", err)
|
pw.log.Errorf("Could not create a GET request to gateway: %s", err)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue