Skip to content

Commit

Permalink
Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan Kumar committed Jan 3, 2025
1 parent 286b22e commit 6b6d3db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/libs/core/src/runtime/stateful_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,14 +381,14 @@ impl StatefulServicePartition {
/// you can specify send options to send it immediately.
/// Reports current partition health.
pub fn report_partition_health(&self, health_info: &HealthInformation) -> crate::Result<()> {
let healthinfo_ref = &health_info.into();
pub fn report_partition_health(&self, healthinfo: &HealthInformation) -> crate::Result<()> {
let healthinfo_ref = &healthinfo.into();
unsafe { self.com_impl.ReportPartitionHealth(healthinfo_ref) }
}

/// Reports health on the current stateful service replica of the partition.
pub fn report_replica_health(&self, health_info: &HealthInformation) -> crate::Result<()> {
let healthinfo_ref = &health_info.into();
pub fn report_replica_health(&self, healthinfo: &HealthInformation) -> crate::Result<()> {
let healthinfo_ref = &healthinfo.into();
unsafe {self.com_impl.ReportReplicaHealth(healthinfo_ref)}
}
}
Expand Down

0 comments on commit 6b6d3db

Please sign in to comment.