Skip to content

Commit c195ef6

Browse files
committed
revocation: Use into() for unfallible transformation
Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
1 parent e0faac7 commit c195ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keylime-agent/src/revocation.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub(crate) fn run_action(
162162
}
163163
Err(err) => {
164164
fs::remove_file(json_path)?;
165-
return Err(err.try_into()?);
165+
return Err(err.into());
166166
}
167167
};
168168

0 commit comments

Comments
 (0)