mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Switch back to localhost from 127.0.0.1 for daemon restart tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
e954415912
commit
d6144619df
@ -107,10 +107,10 @@ func (r *RestartDaemonConfig) waitUp(ctx context.Context) {
|
||||
var healthzCheck string
|
||||
if r.enableHTTPS {
|
||||
healthzCheck = fmt.Sprintf(
|
||||
"curl -sk -o %v -I -w \"%%{http_code}\" https://127.0.0.1:%v/healthz", nullDev, r.healthzPort)
|
||||
"curl -sk -o %v -I -w \"%%{http_code}\" https://localhost:%v/healthz", nullDev, r.healthzPort)
|
||||
} else {
|
||||
healthzCheck = fmt.Sprintf(
|
||||
"curl -s -o %v -I -w \"%%{http_code}\" http://127.0.0.1:%v/healthz", nullDev, r.healthzPort)
|
||||
"curl -s -o %v -I -w \"%%{http_code}\" http://localhost:%v/healthz", nullDev, r.healthzPort)
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user