diff --git a/northbound/server/core.go b/northbound/server/core.go index 713cc92c5571b7b212c3e98400b0c26a9c8a6741..b26ed682193b3d503bd3408ff4e861e2cac9773f 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(),