Skip to content

Commit

Permalink
Returning a valid proto from the ApplyCluster implementation (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
alshabib authored Dec 6, 2023
1 parent 7ecf53e commit 303b49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func (s *server) ApplyCluster(ctx context.Context, req *cpb.ApplyClusterRequest)
if !ok {
return nil, status.Errorf(codes.NotFound, "cluster %q not found, can only apply config to clusters created using TopologyManager", req.GetName())
}
return nil, d.Cluster.Apply(req.GetConfig())
return &cpb.ApplyClusterResponse{}, d.Cluster.Apply(req.GetConfig())
}

func (s *server) CreateTopology(ctx context.Context, req *cpb.CreateTopologyRequest) (*cpb.CreateTopologyResponse, error) {
Expand Down

0 comments on commit 303b49d

Please sign in to comment.