Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
src: remove redundant import of tempfile
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
  • Loading branch information
Vincent Batts committed Mar 8, 2021
1 parent c5acafb commit eebd0d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/providers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ fn write_ssh_keys(user: User, ssh_keys: Vec<PublicKey>) -> Result<()> {
#[cfg(not(feature = "cl-legacy"))]
fn write_ssh_keys(user: User, ssh_keys: Vec<PublicKey>) -> Result<()> {
use std::io::ErrorKind::NotFound;
use tempfile;
use users::os::unix::UserExt;

// switch users
Expand Down

0 comments on commit eebd0d1

Please # to comment.