Skip to content
Snippets Groups Projects
Commit 806ec67f authored by Malte Bauch's avatar Malte Bauch
Browse files

Merge branch 'stfaseid_http_refactor' of code.fbi.h-da.de:/danet/gosdn into stfaseid_http_refactor

parents b9580113 b0ad2a76
No related branches found
No related tags found
1 merge request!238Stfaseid http refactor
Pipeline #96627 failed
This commit is part of merge request !238. Comments created here will be created in the context of that merge request.
......@@ -101,11 +101,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