Skip to content

Commit

Permalink
Use status.configuredmembers that contains the current members of the…
Browse files Browse the repository at this point in the history
… mesh
  • Loading branch information
bmangoen committed Mar 13, 2023
1 parent 6bb1439 commit 941e267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/servicemesh/memberroll/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (r *MemberRollReconciler) reconcileObject(ctx context.Context, roll *maistr
if err != nil {
return reconcile.Result{}, err
}
internalmetrics.GetMemberCounter(mesh.GetNamespace(), mesh.Spec.Version, meshMode).Set(float64(len(roll.Status.Members)))
internalmetrics.GetMemberCounter(mesh.GetNamespace(), mesh.Spec.Version, meshMode).Set(float64(len(roll.Status.ConfiguredMembers)))
}
return reconcile.Result{}, nil
}
Expand Down

0 comments on commit 941e267

Please sign in to comment.