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

changed var name to fit naming convention

parent 9be63670
No related branches found
No related tags found
1 merge request!238Stfaseid http refactor
...@@ -101,11 +101,11 @@ func (s core) DeletePnd(ctx context.Context, request *pb.DeletePndRequest) (*pb. ...@@ -101,11 +101,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