Skip to content

Commit 1ddc616

Browse files
committed
Update FlowSyn.Client version and other packages as well as adopting new changes #93
1 parent 9344aa8 commit 1ddc616

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/FlowCtl/Commands/Plugins/Install/InstallPluginCommandOptionsHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ private async Task Execute(InstallPluginCommandOptions options, CancellationToke
3838
if (!string.IsNullOrEmpty(options.Address))
3939
_flowSynxClient.ChangeConnection(options.Address);
4040

41-
var request = new AddPluginRequest { Type = options.Type, Version = options.Version };
42-
var result = await _flowSynxClient.AddPlugin(request, cancellationToken);
41+
var request = new InstallPluginRequest { Type = options.Type, Version = options.Version };
42+
var result = await _flowSynxClient.InstallPlugin(request, cancellationToken);
4343

4444
if (result.StatusCode != 200)
4545
throw new Exception(Resources.Commands_Error_DuringProcessingRequest);

src/FlowCtl/Commands/Plugins/Uninstall/UninstallPluginCommandOptionsHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ private async Task Execute(UninstallPluginCommandOptions options, CancellationTo
3838
if (!string.IsNullOrEmpty(options.Address))
3939
_flowSynxClient.ChangeConnection(options.Address);
4040

41-
var request = new DeletePluginRequest { Type = options.Type, Version = options.Version };
42-
var result = await _flowSynxClient.DeletePlugin(request, cancellationToken);
41+
var request = new UninstallPluginRequest { Type = options.Type, Version = options.Version };
42+
var result = await _flowSynxClient.UninstallPlugin(request, cancellationToken);
4343

4444
if (result.StatusCode != 200)
4545
throw new Exception(Resources.Commands_Error_DuringProcessingRequest);

src/FlowCtl/FlowCtl.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
</PropertyGroup>
3232

3333
<ItemGroup>
34-
<PackageReference Include="FlowSynx.Client" Version="1.0.0" />
35-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.3" />
36-
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.3" />
34+
<PackageReference Include="FlowSynx.Client" Version="1.2.0" />
35+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.4" />
36+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.4" />
3737
<PackageReference Include="Spectre.Console" Version="0.50.0" />
3838
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
3939
<PackageReference Include="System.CommandLine.NamingConventionBinder" Version="2.0.0-beta4.22272.1" />

0 commit comments

Comments
 (0)