mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-23 07:24:24 +01:00
Dragonball: remove redundant comments in event manager
handle_events for EventManager doesn't take max_events as arguments, so we need to update the comments for it. p.s. max_events is defined when initializing the EventManager. fixes: #5382 Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
This commit is contained in:
@@ -101,7 +101,6 @@ impl EventManager {
|
|||||||
/// Poll pending events and invoke registered event handler.
|
/// Poll pending events and invoke registered event handler.
|
||||||
///
|
///
|
||||||
/// # Arguments:
|
/// # Arguments:
|
||||||
/// * max_events: maximum number of pending events to handle
|
|
||||||
/// * timeout: maximum time in milliseconds to wait
|
/// * timeout: maximum time in milliseconds to wait
|
||||||
pub fn handle_events(&self, timeout: i32) -> std::result::Result<usize, EpollError> {
|
pub fn handle_events(&self, timeout: i32) -> std::result::Result<usize, EpollError> {
|
||||||
self.epoll_mgr
|
self.epoll_mgr
|
||||||
|
|||||||
Reference in New Issue
Block a user