Skip to content

Commit

Permalink
agent: config: Remove supports_seccomp
Browse files Browse the repository at this point in the history
- counterpart to upstream a131eec
- unblocks build with rust v1.84

Signed-off-by: Manuel Huber <mahuber@microsoft.com>
  • Loading branch information
ms-mahuber committed Feb 14, 2025
1 parent be02780 commit 5163038
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/agent/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// SPDX-License-Identifier: Apache-2.0
//
use crate::rpc;
use anyhow::{bail, ensure, Context, Result};
use serde::Deserialize;
use std::env;
Expand Down Expand Up @@ -63,7 +62,6 @@ pub struct AgentConfig {
pub server_addr: String,
pub unified_cgroup_hierarchy: bool,
pub tracing: bool,
pub supports_seccomp: bool,
}

#[derive(Debug, Deserialize)]
Expand Down Expand Up @@ -137,7 +135,6 @@ impl Default for AgentConfig {
server_addr: format!("{}:{}", VSOCK_ADDR, DEFAULT_AGENT_VSOCK_PORT),
unified_cgroup_hierarchy: false,
tracing: false,
supports_seccomp: rpc::have_seccomp(),
}
}
}
Expand Down

0 comments on commit 5163038

Please sign in to comment.