Skip to content

Commit

Permalink
Remove HEAD operation status code warning (Azure#1265)
Browse files Browse the repository at this point in the history
- HEAD methods now only LogInfo instead of LogWarning when
   pointing out that you might be mistaken if you're missing
   two status codes.
  • Loading branch information
matthchr authored and fearthecowboy committed Jul 14, 2016
1 parent d0168cd commit 904ef23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/AutoRest.Extensions.Azure/AzureExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
}
Expand Down

0 comments on commit 904ef23

Please sign in to comment.