Skip to content

Commit

Permalink
Make linter gods happy
Browse files Browse the repository at this point in the history
  • Loading branch information
avillega committed Mar 7, 2025
1 parent ace71df commit c913c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/dst/dst.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@ func (d *DST) logError(partialLinearization []porcupine.Operation, lastOp porcup
res := lastOp.Output.(*Res)
var err error
if req.kind == Op {
model, err = d.Step(model, req.time, res.time, req.req, res.res, res.err)
_, err = d.Step(model, req.time, res.time, req.req, res.res, res.err)
fmt.Printf("Op(id=%s, t=%d|%d), req=%v, res=%v\n", req.req.Tags["id"], req.time, res.time, req.req, res.res)
} else {
model, err = d.BcStep(model, req.time, res.time, req)
_, err = d.BcStep(model, req.time, res.time, req)
var obj any
if req.bc.Task != nil {
obj = req.bc.Task
Expand Down Expand Up @@ -439,7 +439,7 @@ func (d *DST) Model() porcupine.Model {
} else if req.bc.Promise != nil {
return fmt.Sprintf("Backchannel | %s", req.bc.Promise)
} else {
return fmt.Sprintf("Backchannel | unknown(possible error)")
return "Backchannel | unknown(possible error)"
}
default:
panic(fmt.Sprintf("unknown request kind: %d", req.kind))
Expand Down

0 comments on commit c913c41

Please sign in to comment.