Skip to content

Commit

Permalink
decode: don't swallow diagnostics when decoding concurrently (#118)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Cragun <[email protected]>
  • Loading branch information
ryancragun authored Nov 17, 2023
1 parent a4328b6 commit e059a9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/flightplan/scenario_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,4 +434,5 @@ func (d *ScenarioDecoder) decodeScenariosConcurrent(ctx context.Context, sb *Dec
cancel()
workerWg.Wait()
sb.Scenarios = append(sb.Scenarios, scenarios...)
sb.Diagnostics = sb.Diagnostics.Extend(diags)
}
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
//
// Version must conform to the format expected by github.com/hashicorp/go-version
// for tests to work.
Version = "0.0.24"
Version = "0.0.25"

// VersionPrerelease is a pre-release marker for the version. If this is ""
// (empty string) then it means that it is a final release. Otherwise, this
Expand Down

0 comments on commit e059a9b

Please sign in to comment.