Skip to content

Commit c03c4f7

Browse files
authored
Merge pull request #6296 from Jiloc/fix/v2-stackerdb-metrics-identifier
fix: `/v2/stackerdb` metrics identifier typo
2 parents 6d154cc + b979ca6 commit c03c4f7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to the versioning scheme outlined in the [README.md](README.md).
77

8+
## Unreleased
9+
10+
### Fixed
11+
12+
- Fixed a typo in the metrics_identifier route from `/v2/stackedb/:principal/:contract_name/replicas` to `/v2/stackerdb/:principal/:contract_name/replicas`. Note: This may be a breaking change for systems relying on the incorrect route. Please update any metrics tools accordingly.
13+
814
## [3.2.0.0.0]
915

1016
### Added

stackslib/src/net/api/liststackerdbreplicas.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ impl HttpRequest for RPCListStackerDBReplicasRequestHandler {
6262
}
6363

6464
fn metrics_identifier(&self) -> &str {
65-
"/v2/stackedb/:principal/:contract_name/replicas"
65+
"/v2/stackerdb/:principal/:contract_name/replicas"
6666
}
6767

6868
/// Try to decode this request.

0 commit comments

Comments
 (0)