mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix: preserve rollback errors in runTx (#24598)
Previously, `runTx` could lose a deferred rollback failure when returning an existing transaction error, because the rollback path could not update the final return value. https://go.dev/play/p/AhBK31lO0Gd
This commit is contained in:
@@ -105,6 +105,7 @@ replace github.com/openai/openai-go/v3 => github.com/kylecarbs/openai-go/v3 v3.0
|
||||
require (
|
||||
cdr.dev/slog/v3 v3.0.0
|
||||
cloud.google.com/go/compute/metadata v0.9.0
|
||||
github.com/DATA-DOG/go-sqlmock v1.5.2
|
||||
github.com/Microsoft/go-winio v0.6.2
|
||||
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
|
||||
github.com/adrg/xdg v0.5.0
|
||||
|
||||
Reference in New Issue
Block a user