Skip to content

Commit

Permalink
Fix pinned metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Oct 12, 2024
1 parent 48d8494 commit 7250c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libwasmvm/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ fn do_get_pinned_metrics(
cache: &mut Cache<GoApi, GoStorage, GoQuerier>,
) -> Result<UnmanagedVector, Error> {
let pinned_metrics = PinnedMetrics::from(cache.pinned_metrics());
let edgerunner = serde_json::to_vec(&pinned_metrics)?;
let edgerunner = rmp_serde::to_vec(&pinned_metrics)?;
Ok(UnmanagedVector::new(Some(edgerunner)))
}

Expand Down

0 comments on commit 7250c10

Please sign in to comment.