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
This commit is part of merge request !238. Comments created here will be created in the context of that merge request.
......@@ -102,11 +102,11 @@ func (s core) DeletePnd(ctx context.Context, request *pb.DeletePndRequest) (*pb.
start := metrics.StartHook(labels, grpcRequestsTotal)
defer metrics.FinishHook(labels, start, grpcRequestDurationSecondsTotal, grpcRequestDurationSeconds)
pndId, err := uuid.Parse(request.Pid)
pndID, err := uuid.Parse(request.Pid)
if err != nil {
return nil, handleRPCError(labels, err)
}
pndc.Delete(pndId)
pndc.Delete(pndID)
return &pb.DeletePndResponse{
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