Skip to content

Commit

Permalink
MInor changes to options field --ECL
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Sep 14, 2023
1 parent 16b278a commit a6f9d88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Serval.Grpc/Protos/serval/translation/v1/engine.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ message StartBuildRequest {
string engine_type = 1;
string engine_id = 2;
string build_id = 3;
string options = 4;
optional string options = 4;
repeated Corpus corpora = 5;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Serval.Translation/Services/EngineService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public async Task<bool> StartBuildAsync(Build build, CancellationToken cancellat
EngineType = engine.Type,
EngineId = engine.Id,
BuildId = build.Id,
Options = build.Options,
Options = build.Options ?? "",
Corpora =
{
engine.Corpora.Select(c =>
Expand Down

0 comments on commit a6f9d88

Please sign in to comment.