mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-21 22:51:13 +02:00
fix(proxyd): Fix backend deletion (#729)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
This commit is contained in:
parent
fb320a894b
commit
c88b6fc422
@ -23,6 +23,7 @@ policies:
|
|||||||
- init
|
- init
|
||||||
- initramfs
|
- initramfs
|
||||||
- kernel
|
- kernel
|
||||||
|
- proxyd
|
||||||
- osctl
|
- osctl
|
||||||
- osd
|
- osd
|
||||||
- rootfs
|
- rootfs
|
||||||
|
@ -244,7 +244,7 @@ func (r *ReverseProxy) DeleteFunc() func(obj interface{}) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if deleted := r.DeleteBackend(pod.Status.PodIP); deleted {
|
if deleted := r.DeleteBackend(string(pod.UID)); deleted {
|
||||||
log.Printf("deregistered API server %s (UID: %q) with IP: %s", pod.Name, pod.UID, pod.Status.PodIP)
|
log.Printf("deregistered API server %s (UID: %q) with IP: %s", pod.Name, pod.UID, pod.Status.PodIP)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user