mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-02 09:24:35 +00:00
kata-ctl: Allow unused enum field
Clippy errors with: ``` error: field `0` is never read ``` but the field is required for the `map_err`, so ignore this error for now to avoid too much disruption Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
@@ -46,6 +46,7 @@ macro_rules! sl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
#[allow(dead_code)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
EpollWait(io::Error),
|
EpollWait(io::Error),
|
||||||
EpollCreate(io::Error),
|
EpollCreate(io::Error),
|
||||||
|
Reference in New Issue
Block a user