From dcc6af046788ccebfab42f61713d00349ddaf369 Mon Sep 17 00:00:00 2001 From: Fabian Seidl <fabian.seidl1@gmx.de> Date: Thu, 3 Mar 2022 09:45:33 +0100 Subject: [PATCH] changed var name to fit naming convention --- northbound/server/core.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/northbound/server/core.go b/northbound/server/core.go index b72fe1d01..d269fad77 100644 --- a/northbound/server/core.go +++ b/northbound/server/core.go @@ -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(), -- GitLab