We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac82ca5 commit d631204Copy full SHA for d631204
commands/context.go
@@ -117,7 +117,6 @@ func (c *Context) LogRequest(req *cmds.Request) func() {
117
Command: strings.Join(req.Path, "/"),
118
Options: req.Options,
119
Args: req.Arguments,
120
- ID: c.ReqLog.nextID,
121
log: c.ReqLog,
122
}
123
c.ReqLog.AddEntry(rle)
commands/reqlog.go
@@ -38,6 +38,7 @@ func (rl *ReqLog) AddEntry(rle *ReqLogEntry) {
38
rl.lock.Lock()
39
defer rl.lock.Unlock()
40
41
+ rle.ID = rl.nextID
42
rl.nextID++
43
rl.Requests = append(rl.Requests, rle)
44
0 commit comments