We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e830bb + 2480e5a commit 2693eb1Copy full SHA for 2693eb1
Src/StackifyLib/Models/EnvironmentDetail.cs
@@ -189,7 +189,7 @@ public static string GetEC2InstanceId()
189
#else
190
public static string GetDeviceName()
191
{
192
- var deviceName = Process.GetCurrentProcess().MachineName;
+ var deviceName = Environment.MachineName;
193
var isDefaultDeviceNameEc2 = IsEc2MachineName(deviceName);
194
195
if (Config.IsEc2 == null || Config.IsEc2 == true || isDefaultDeviceNameEc2)
0 commit comments