We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ddbba2 commit d8212edCopy full SHA for d8212ed
cmd/dst/run.go
@@ -1,7 +1,6 @@
1
package dst
2
3
import (
4
- "errors"
5
"fmt"
6
"log/slog"
7
"math/rand" // nosemgrep
@@ -195,7 +194,7 @@ func RunDSTCmd() *cobra.Command {
195
194
}
196
197
if !ok {
198
- return errors.New(fmt.Sprintf("DST failed for seed='%d'", seed))
+ return fmt.Errorf("DST failed for seed='%d'", seed)
199
200
201
return nil
internal/app/subsystems/aio/store/postgres/postgres.go
@@ -47,7 +47,7 @@ const (
47
CREATE INDEX IF NOT EXISTS idx_promises_sort_id ON promises(sort_id);
48
49
CREATE TABLE IF NOT EXISTS callbacks (
50
- id SERIAL PRIMARY KEY,
+ id TEXT,
51
promise_id TEXT,
52
root_promise_id TEXT,
53
recv BYTEA,
0 commit comments