Skip to content

Commit 8c4d651

Browse files
authored
chore: Make cargo check happy (#95)
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent e81f0f5 commit 8c4d651

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/cmd.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub struct MgrMetadata {
8080
pub os: String,
8181
// other metadata not captured through the above attributes
8282
#[serde(flatten)]
83-
other_meta: Option<HashMap<String, String>>,
83+
pub other_meta: Option<HashMap<String, String>>,
8484
}
8585

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

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

229229
#[derive(Deserialize, Debug, Clone)]
@@ -290,9 +290,9 @@ pub enum ExtraProbePeer {
290290

291291
#[derive(Deserialize, Debug)]
292292
pub struct AddrVec {
293-
r#type: String,
294-
addr: String,
295-
nonce: i32,
293+
pub r#type: String,
294+
pub addr: String,
295+
pub nonce: i32,
296296
}
297297

298298
#[derive(Deserialize, Debug)]

0 commit comments

Comments
 (0)