mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-28 19:34:58 +01:00
control job: wrong error on context done
This commit is contained in:
parent
40919d06c2
commit
83bb97a845
@ -59,7 +59,7 @@ outer:
|
||||
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
log.WithError(err).Info("contex done")
|
||||
log.WithError(ctx.Err()).Info("context done")
|
||||
server.Shutdown(context.Background())
|
||||
break outer
|
||||
case err = <-served:
|
||||
|
Loading…
Reference in New Issue
Block a user