Skip to content

Commit

Permalink
chore: Make cargo check happy (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Sep 3, 2024
1 parent e81f0f5 commit 8c4d651
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub struct MgrMetadata {
pub os: String,
// other metadata not captured through the above attributes
#[serde(flatten)]
other_meta: Option<HashMap<String, String>>,
pub other_meta: Option<HashMap<String, String>>,
}

#[derive(Deserialize, Debug, Clone)]
Expand Down Expand Up @@ -184,7 +184,7 @@ pub struct OsdMetadata {
pub objectstore_meta: ObjectStoreMeta,
// other metadata not captured through the above attributes
#[serde(flatten)]
other_meta: Option<HashMap<String, String>>,
pub other_meta: Option<HashMap<String, String>>,
}

#[derive(Deserialize, Debug, Clone)]
Expand Down Expand Up @@ -223,7 +223,7 @@ pub struct PgSummary {
pub num_keys_recovered: Option<u64>,
// other metadata not captured through the above attributes
#[serde(flatten)]
other_meta: Option<HashMap<String, String>>,
pub other_meta: Option<HashMap<String, String>>,
}

#[derive(Deserialize, Debug, Clone)]
Expand Down Expand Up @@ -290,9 +290,9 @@ pub enum ExtraProbePeer {

#[derive(Deserialize, Debug)]
pub struct AddrVec {
r#type: String,
addr: String,
nonce: i32,
pub r#type: String,
pub addr: String,
pub nonce: i32,
}

#[derive(Deserialize, Debug)]
Expand Down

0 comments on commit 8c4d651

Please sign in to comment.