diff --git a/tfclient/src/nebulaworker_inert.rs b/tfclient/src/nebulaworker_inert.rs index 4a54f8c..2deb177 100644 --- a/tfclient/src/nebulaworker_inert.rs +++ b/tfclient/src/nebulaworker_inert.rs @@ -9,8 +9,6 @@ use log::{debug, error, info}; use std::error::Error; use std::fs; use std::sync::mpsc::Receiver; -use nebula_ffi::NebulaInstance; -use crate::util::shutdown; pub enum NebulaWorkerMessage { Shutdown, @@ -44,7 +42,7 @@ fn insert_private_key(instance: &str) -> Result<(), Box> { } -pub fn nebulaworker_main(_config: TFClientConfig, _instance: String, _transmitter: ThreadMessageSender, rx: Receiver) { +pub fn nebulaworker_main(_config: TFClientConfig, instance: String, _transmitter: ThreadMessageSender, rx: Receiver) { loop { match rx.recv() { Ok(msg) => match msg {