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:
stevenhorsman
2025-01-29 10:17:24 +00:00
parent f1d3450d1f
commit 225c7fc026

View File

@@ -46,6 +46,7 @@ macro_rules! sl {
}
#[derive(Debug)]
#[allow(dead_code)]
pub enum Error {
EpollWait(io::Error),
EpollCreate(io::Error),