From 16f1f410ed4f6171667be9c7401778cf924fdeb0 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 713cc92c5..b26ed6821 100644 --- a/northbound/server/core.go +++ b/northbound/server/core.go @@ -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(), -- GitLab