From 24a27efd4f3ce89fff2fd799ac5d95ab5744f8ed Mon Sep 17 00:00:00 2001 From: Yashwanth Anantharaju Date: Mon, 30 Jan 2023 10:00:31 -0500 Subject: [PATCH] fix small bug (#2396) --- src/Runner.Common/RunServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Common/RunServer.cs b/src/Runner.Common/RunServer.cs index c4ccb6494..879045055 100644 --- a/src/Runner.Common/RunServer.cs +++ b/src/Runner.Common/RunServer.cs @@ -29,7 +29,7 @@ namespace GitHub.Runner.Common { requestUri = serverUri; - _connection = VssUtil.CreateRawConnection(new Uri(serverUri.Authority), credentials); + _connection = VssUtil.CreateRawConnection(serverUri, credentials); _runServiceHttpClient = await _connection.GetClientAsync(); _hasConnection = true; }