mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix error formatting log for post-restore hook errors.
PiperOrigin-RevId: 726780521
This commit is contained in:
committed by
gVisor bot
parent
6b4f0082c2
commit
d1fe5aeae0
@@ -326,7 +326,7 @@ func (r *restorer) restore(l *Loader) error {
|
||||
|
||||
go func() {
|
||||
if err := postRestoreImpl(l); err != nil {
|
||||
log.Warningf("Killing the sandbox after post restore work failed: %w", err)
|
||||
log.Warningf("Killing the sandbox after post restore work failed: %v", err)
|
||||
l.k.Kill(linux.WaitStatusTerminationSignal(linux.SIGKILL))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user