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

Commit 19d8349

Browse files
committed
fix version handling in the server
1 parent 85b7e31 commit 19d8349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiService/ApiService/onefuzzlib/NodeOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ public async Async.Task<Node> SetShutdown(Node node) {
463463

464464

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

0 commit comments

Comments
 (0)