Skip to content

Commit

Permalink
treat self as ready (#1976)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeralsing committed Apr 27, 2023
1 parent e7dfe20 commit e7a5846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Proto.Cluster.Kubernetes/KubernetesClusterMonitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit e7a5846

Please sign in to comment.