mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-21 16:03:32 +01:00
parent
0f3da73ef1
commit
af2d6579c5
@ -125,14 +125,16 @@ func (c *Cmd) startPre(newTask bool) {
|
||||
}
|
||||
|
||||
func (c *Cmd) startPost(err error) {
|
||||
now := time.Now()
|
||||
|
||||
c.mtx.Lock()
|
||||
now := time.Now()
|
||||
c.startedAt = now
|
||||
c.mtx.Unlock()
|
||||
|
||||
startPostReport(c, err, now)
|
||||
startPostLogging(c, err, now)
|
||||
|
||||
if err != nil {
|
||||
c.waitReturnEndSpanCb()
|
||||
}
|
||||
}
|
||||
|
||||
func (c *Cmd) waitPre() {
|
||||
|
Loading…
Reference in New Issue
Block a user