From 47980b7e28b615e803532265ded4cdb248b12d24 Mon Sep 17 00:00:00 2001 From: David Acker Date: Thu, 20 Jan 2022 12:21:56 -0500 Subject: [PATCH] Fix logger variable name --- src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs index 54195048895b..dc2a2fd4fdae 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs @@ -183,7 +183,7 @@ private static Task GetViewComponentResult(IViewComponentHelper vi } else { - Log.ViewComponentResultExecuting(_logger, result.ViewComponentType); + Log.ViewComponentResultExecuting(logger, result.ViewComponentType); return viewComponentHelper.InvokeAsync(result.ViewComponentType, result.Arguments); } }