Skip to content

Commit

Permalink
Align service instance id to java version (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-xiaoshuang authored Mar 11, 2024
1 parent 8e8b109 commit 3fa62f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private static string BuildDefaultServiceInstanceName()
.GetHostAddresses(hostName)
.First(x => x.AddressFamily == AddressFamily.InterNetwork).ToString();

return $"{ipAddress}@{guid}";
return $"{guid}@{ipAddress}";
}
catch (Exception)
{
Expand Down

0 comments on commit 3fa62f4

Please sign in to comment.