Skip to content

Commit

Permalink
Fix cluster field serialization for consumer info
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Pietrek <[email protected]>
  • Loading branch information
Jarema committed Dec 22, 2022
1 parent 41b0272 commit 93bcd30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions async-nats/src/jetstream/consumer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ pub struct Info {
/// The number of pending
pub num_pending: u64,
/// Information about the consumer's cluster
#[serde(default)]
pub cluster: ClusterInfo,
/// Indicates if any client is connected and receiving messages from a push consumer
#[serde(default)]
Expand Down

0 comments on commit 93bcd30

Please sign in to comment.