Skip to content

Commit

Permalink
node field is missing just after declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuratczyk committed Aug 1, 2023
1 parent 93684dd commit 50f09b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/responses.rs
Expand Up @@ -399,6 +399,7 @@ pub struct QueueInfo {
#[tabled(skip)]
pub arguments: XArguments,

#[serde(default = "undefined")]
pub node: String,
#[serde(default)]
pub state: String,
Expand Down Expand Up @@ -632,3 +633,7 @@ pub struct QuorumEndangeredQueue {
#[serde(rename(deserialize = "type"))]
pub queue_type: String,
}

fn undefined() -> String {
"?".to_string()
}

0 comments on commit 50f09b8

Please sign in to comment.