diff --git a/src/libs/protocols/src/trans.rs b/src/libs/protocols/src/trans.rs index 52fb0d99ea..e9ecfe7859 100644 --- a/src/libs/protocols/src/trans.rs +++ b/src/libs/protocols/src/trans.rs @@ -515,7 +515,7 @@ impl From for oci::LinuxMemory { let mut swappiness = None; if from.get_Swappiness() > 0 { - swappiness = Some(from.get_Swappiness() as i64); + swappiness = Some(from.get_Swappiness()); } let disable_oom_killer = Some(from.get_DisableOOMKiller());