From e7a5846c6cc2efb32dec5ad65f749c628b5c68d5 Mon Sep 17 00:00:00 2001 From: Roger Johansson Date: Thu, 27 Apr 2023 11:45:58 +0200 Subject: [PATCH] treat self as ready (#1976) --- src/Proto.Cluster.Kubernetes/KubernetesClusterMonitor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Proto.Cluster.Kubernetes/KubernetesClusterMonitor.cs b/src/Proto.Cluster.Kubernetes/KubernetesClusterMonitor.cs index 0227790cc0..a827c13901 100644 --- a/src/Proto.Cluster.Kubernetes/KubernetesClusterMonitor.cs +++ b/src/Proto.Cluster.Kubernetes/KubernetesClusterMonitor.cs @@ -221,7 +221,7 @@ private void Watch(WatchEventType eventType, V1Pod eventPod) var memberStatuses = _clusterPods.Values .Select(x => x.GetMemberStatus()) - .Where(x => x.IsRunning && x.IsReady) + .Where(x => x.IsRunning && (x.IsReady || x.Member.Id == _cluster.System.Id)) .Select(x => x.Member) .ToList();