Skip to content

Commit

Permalink
Ensure host name is returned
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejgordon committed May 11, 2023
1 parent 8908054 commit 02261db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elastic.Apm/Helpers/SystemInfoHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ internal string GetHostName()
{
try
{
var hostName = IPGlobalProperties.GetIPGlobalProperties().HostName;
return IPGlobalProperties.GetIPGlobalProperties().HostName;
}
catch (Exception e)
{
Expand Down

0 comments on commit 02261db

Please sign in to comment.