Skip to content

Commit

Permalink
feat(main): clean address (#25)
Browse files Browse the repository at this point in the history
* feat(main): add owner to endpoint

* feat(main): clean address
  • Loading branch information
cuisongliu authored Jan 14, 2022
1 parent b6a252d commit 9185ec7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ func (c *Reconciler) syncEndpoint(ctx context.Context, cep *v1beta1.ClusterEndpo
subsets = append(subsets, subset.toEndpoint())
}
ep.Subsets = subsets
} else {
ep.Subsets = []corev1.EndpointSubset{}
}
if len(e) != 0 {
updateError = ToAggregate(e)
Expand Down

0 comments on commit 9185ec7

Please sign in to comment.