Skip to content

Commit de40109

Browse files
committed
add default status unready when readiness probe sync
Signed-off-by: rongfu.leng <[email protected]>
1 parent 9125473 commit de40109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kubelet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,7 @@ func (kl *Kubelet) syncLoopIteration(ctx context.Context, configCh <-chan kubety
24652465
ready := update.Result == proberesults.Success
24662466
kl.statusManager.SetContainerReadiness(update.PodUID, update.ContainerID, ready)
24672467

2468-
status := ""
2468+
status := "not ready"
24692469
if ready {
24702470
status = "ready"
24712471
}

0 commit comments

Comments
 (0)