Skip to content
Snippets Groups Projects
Commit 16f1f410 authored by Fabian Seidl's avatar Fabian Seidl
Browse files

changed var name to fit naming convention

parent 3f85d0ee
No related branches found
No related tags found
1 merge request!238Stfaseid http refactor
...@@ -102,11 +102,11 @@ func (s core) DeletePnd(ctx context.Context, request *pb.DeletePndRequest) (*pb. ...@@ -102,11 +102,11 @@ func (s core) DeletePnd(ctx context.Context, request *pb.DeletePndRequest) (*pb.
start := metrics.StartHook(labels, grpcRequestsTotal) start := metrics.StartHook(labels, grpcRequestsTotal)
defer metrics.FinishHook(labels, start, grpcRequestDurationSecondsTotal, grpcRequestDurationSeconds) defer metrics.FinishHook(labels, start, grpcRequestDurationSecondsTotal, grpcRequestDurationSeconds)
pndId, err := uuid.Parse(request.Pid) pndID, err := uuid.Parse(request.Pid)
if err != nil { if err != nil {
return nil, handleRPCError(labels, err) return nil, handleRPCError(labels, err)
} }
pndc.Delete(pndId) pndc.Delete(pndID)
return &pb.DeletePndResponse{ return &pb.DeletePndResponse{
Timestamp: time.Now().UnixNano(), Timestamp: time.Now().UnixNano(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment