Fix DSRouter build break in diag client (#2421)
authorJuan Hoyos <juan.hoyos@microsoft.com>
Wed, 7 Jul 2021 06:30:11 +0000 (23:30 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Jul 2021 06:30:11 +0000 (06:30 +0000)
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsServerRouter/DiagnosticsServerRouterFactory.cs

index 98c3febb1e77767df9fee58eb1089d04d3058618..47d8e6623afa78cd0cc44a85806603f750a1a9e5 100644 (file)
@@ -1134,7 +1134,7 @@ namespace Microsoft.Diagnostics.NETCore.Client
                     var response = IpcMessage.Parse(tcpClientStream);
                     if ((DiagnosticsServerResponseId)response.Header.CommandId == DiagnosticsServerResponseId.OK)
                     {
-                        var info = ProcessInfo.Parse(response.Payload);
+                        var info = ProcessInfo.ParseV1(response.Payload);
 
                         _runtimeProcessId = info.ProcessId;
                         _runtimeInstanceId = info.RuntimeInstanceCookie;