Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemiller-rum committed Feb 6, 2024
1 parent 71d4feb commit eb9c18e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
6 changes: 3 additions & 3 deletions RDSServiceClient/RDSServiceClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<Description>Client for RDSService running on a remote RDS connection broker</Description>
<PackageProjectUrl>https://github.com/kyle079/RDSService</PackageProjectUrl>
<RepositoryUrl>https://github.com/kyle079/RDSService</RepositoryUrl>
<Version>1.0.4</Version>
<AssemblyVersion>1.0.4</AssemblyVersion>
<FileVersion>1.0.4</FileVersion>
<Version>1.0.5</Version>
<AssemblyVersion>1.0.5</AssemblyVersion>
<FileVersion>1.0.5</FileVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

Expand Down
9 changes: 0 additions & 9 deletions RDSServiceClient/RdsServiceClientOptions.cs

This file was deleted.

5 changes: 2 additions & 3 deletions RDSServiceClient/RdsSessionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ public class RdsSessionService : IRdsSessionService
{
private readonly HttpClient _httpClient;

public RdsSessionService(IHttpClientFactory httpClientFactory, IOptions<RdsServiceClientOptions> options)
public RdsSessionService(HttpClient httpClient)
{
_httpClient = httpClientFactory.CreateClient();
_httpClient.BaseAddress = new Uri(options.Value.BaseUrl);
_httpClient = httpClient;
}

public Task<string> GetActiveManagementServer(string? connectionBroker = null) =>
Expand Down

0 comments on commit eb9c18e

Please sign in to comment.