Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
fix version handling in the server
Browse files Browse the repository at this point in the history
  • Loading branch information
chkeita committed Mar 20, 2023
1 parent 85b7e31 commit 19d8349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiService/ApiService/onefuzzlib/NodeOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public async Async.Task<Node> SetShutdown(Node node) {


public async Async.Task SendStopIfFree(Node node) {
var ver = new Version(_context.ServiceConfiguration.OneFuzzVersion.Split('-')[0]);
var ver = new Version(_context.ServiceConfiguration.OneFuzzVersion.Split('-', '+')[0]);
if (ver >= Version.Parse("2.16.1")) {
await SendMessage(node, new NodeCommand(StopIfFree: new NodeCommandStopIfFree()));
}
Expand Down

0 comments on commit 19d8349

Please sign in to comment.