Skip to content

Commit

Permalink
fix: rename mismatched function name (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsushmith authored Sep 20, 2022
1 parent bd98214 commit aadf11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/handler/v1beta1/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (s *GRPCServer) UpdatePolicy(ctx context.Context, req *guardianv1beta1.Upda
}, nil
}

func (s *GRPCServer) GetPolicyAppealConfig(ctx context.Context, req *guardianv1beta1.GetPolicyPreferencesRequest) (*guardianv1beta1.GetPolicyPreferencesResponse, error) {
func (s *GRPCServer) GetPolicyPreferences(ctx context.Context, req *guardianv1beta1.GetPolicyPreferencesRequest) (*guardianv1beta1.GetPolicyPreferencesResponse, error) {
p, err := s.policyService.GetOne(ctx, req.GetId(), uint(req.GetVersion()))
if err != nil {
switch err {
Expand Down

0 comments on commit aadf11e

Please sign in to comment.