Skip to content

Commit f213bb6

Browse files
committed
server id
1 parent 3b1f078 commit f213bb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/deployment/resources/member_cleanup.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (r *Resources) cleanupRemovedClusterMembers() error {
8686

8787
serverFound := func(id string) bool {
8888
_, found := h.Health[driver.ServerID(id)]
89-
log.Info().Bool("found", found).Str("id", id).Msg("Server found exit")
89+
log.Info().Bool("found", found).Str("server id", id).Msg("Server found exit")
9090
return found
9191
}
9292

@@ -103,6 +103,7 @@ func (r *Resources) cleanupRemovedClusterMembers() error {
103103
return nil
104104
}
105105
for _, m := range list {
106+
106107
if serverFound(m.ID) {
107108
// Member is (still) found, skip it
108109
if m.Conditions.Update(api.ConditionTypeMemberOfCluster, true, "", "") {

0 commit comments

Comments
 (0)