We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d2e4b commit 86e1f10Copy full SHA for 86e1f10
Src/StackifyLib/Models/EnvironmentDetail.cs
@@ -123,10 +123,9 @@ public static string GetDeviceName()
123
if (Config.IsEc2 == null || Config.IsEc2 == true || isDefaultDeviceNameEc2)
124
{
125
var instanceID_task = GetEC2InstanceId();
126
- instanceID_task.Wait();
127
- if (string.IsNullOrWhiteSpace(instanceID_task.Result) == false)
+ if (string.IsNullOrWhiteSpace(instanceID_task) == false)
128
129
- deviceName = instanceID_task.Result;
+ deviceName = instanceID_task;
130
}
131
132
0 commit comments