Skip to content

Commit 88b41cf

Browse files
committed
fix(ci): address rust clippy failures
1 parent cdf6ac6 commit 88b41cf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/openshell-sandbox/src/proxy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ fn evaluate_opa_tcp(
12021202
#[cfg(not(target_os = "linux"))]
12031203
fn evaluate_opa_tcp(
12041204
_peer_addr: SocketAddr,
1205-
_engine: &OpaEngine,
1205+
engine: &OpaEngine,
12061206
_identity_cache: &BinaryIdentityCache,
12071207
_entrypoint_pid: &AtomicU32,
12081208
_host: &str,
@@ -1212,7 +1212,7 @@ fn evaluate_opa_tcp(
12121212
action: NetworkAction::Deny {
12131213
reason: "identity binding unavailable on this platform".into(),
12141214
},
1215-
generation: _engine.current_generation(),
1215+
generation: engine.current_generation(),
12161216
binary: None,
12171217
binary_pid: None,
12181218
ancestors: vec![],

crates/openshell-server/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ pub async fn run_cli() -> Result<()> {
291291

292292
let args = Args::from_arg_matches(&command().get_matches()).expect("clap validated args");
293293

294-
run_from_args(args).await
294+
Box::pin(run_from_args(args)).await
295295
}
296296

297297
async fn run_from_args(args: Args) -> Result<()> {

0 commit comments

Comments
 (0)