From 904ef232c683279e12ab074d74c6e2d86a84a44d Mon Sep 17 00:00:00 2001 From: Matthew Christopher Date: Thu, 14 Jul 2016 10:13:22 -0700 Subject: [PATCH] Remove HEAD operation status code warning (#1265) - HEAD methods now only LogInfo instead of LogWarning when pointing out that you might be mistaken if you're missing two status codes. --- src/core/AutoRest.Extensions.Azure/AzureExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/AutoRest.Extensions.Azure/AzureExtensions.cs b/src/core/AutoRest.Extensions.Azure/AzureExtensions.cs index cdd4c7a092370..1526586241abe 100644 --- a/src/core/AutoRest.Extensions.Azure/AzureExtensions.cs +++ b/src/core/AutoRest.Extensions.Azure/AzureExtensions.cs @@ -111,7 +111,7 @@ public static void UpdateHeadMethods(ServiceClient serviceClient) } else { - Logger.LogWarning(string.Format(CultureInfo.InvariantCulture, Resources.HeadMethodPossibleIncorrectSpecification, method.Name)); + Logger.LogInfo(string.Format(CultureInfo.InvariantCulture, Resources.HeadMethodPossibleIncorrectSpecification, method.Name)); } } }