Do not return error on hijacked connection for docker exec
Signed-off-by: Lei Jitang <leijitang@huawei.com> Upstream-commit: d6ccc0e09fe42d9f0d929dbf8d68ce790f4c8b9e Component: engine
This commit is contained in:
@ -112,7 +112,6 @@ func (s *containerRouter) postContainerExecStart(ctx context.Context, w http.Res
|
||||
}
|
||||
stdout.Write([]byte(err.Error()))
|
||||
logrus.Errorf("Error running exec in container: %v\n", err)
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user