Skip to content

Commit

Permalink
fix: fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Jan 30, 2024
1 parent a043c18 commit 845ff30
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions operator/src/network/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,11 @@ pub async fn run() {

const MAX_CERAMICS: usize = 10;

#[derive(Default)]
struct MonitoringConfig {
namespaced: bool,
}

impl Default for MonitoringConfig {
fn default() -> Self {
Self { namespaced: false }
}
}

impl From<&Option<MonitoringSpec>> for MonitoringConfig {
fn from(value: &Option<MonitoringSpec>) -> Self {
let default = MonitoringConfig::default();
Expand Down

0 comments on commit 845ff30

Please sign in to comment.