chore: drop two more stale clippy allows (ContainerView bools, journal too_many_lines)
This commit is contained in:
parent
97f8781150
commit
b5410d4613
2 changed files with 1 additions and 2 deletions
|
|
@ -14,7 +14,6 @@ use crate::coordinator::Coordinator;
|
||||||
use crate::lifecycle::{self, AGENT_PREFIX};
|
use crate::lifecycle::{self, AGENT_PREFIX};
|
||||||
|
|
||||||
#[derive(Serialize, Clone, PartialEq, Eq, Debug)]
|
#[derive(Serialize, Clone, PartialEq, Eq, Debug)]
|
||||||
#[allow(clippy::struct_excessive_bools)]
|
|
||||||
pub struct ContainerView {
|
pub struct ContainerView {
|
||||||
/// Logical agent name (no `h-` prefix). Used in action URLs.
|
/// Logical agent name (no `h-` prefix). Used in action URLs.
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
|
|
||||||
|
|
@ -606,7 +606,7 @@ async fn container_run_streaming(
|
||||||
/// hard error — journalctl's own diagnostic (folded into `stderr` with
|
/// hard error — journalctl's own diagnostic (folded into `stderr` with
|
||||||
/// the exit status) is what the caller surfaces to the operator, so the
|
/// the exit status) is what the caller surfaces to the operator, so the
|
||||||
/// helper never bails.
|
/// helper never bails.
|
||||||
#[allow(clippy::too_many_arguments, clippy::too_many_lines)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
async fn read_container_journal(
|
async fn read_container_journal(
|
||||||
container: &str,
|
container: &str,
|
||||||
lines: u32,
|
lines: u32,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue