Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rocketmq-broker/src/broker_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1749,8 +1749,8 @@ impl<MS: MessageStore> BrokerRuntimeInner<MS> {
}

#[inline]
pub fn broker_stats(&self) -> &Option<BrokerStats<MS>> {
&self.broker_stats
pub fn broker_stats(&self) -> Option<&BrokerStats<MS>> {
self.broker_stats.as_ref()
}

#[inline]
Expand Down
Loading