Skip to content

Commit

Permalink
Error handling
Browse files Browse the repository at this point in the history
Signed-off-by: Lazar Cvetković <[email protected]>
  • Loading branch information
cvetkovic committed Mar 5, 2024
1 parent d00eaf4 commit 1567e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/control_plane/reconstruction.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (c *ControlPlane) reconstructEndpointsState(ctx context.Context) error {

list, err := workerNode.ListEndpoints(ctx, &emptypb.Empty{})
if err != nil {
return err
logrus.Errorf("Failed to fetch endpoints from worker node %s - %v", workerNode.GetName(), err)
}

endpoints = append(endpoints, list.Endpoint...)
Expand Down

0 comments on commit 1567e66

Please sign in to comment.