Skip to content

Commit

Permalink
feature: rc20 wip
Browse files Browse the repository at this point in the history
Signed-off-by: Timur Guskov <[email protected]>
  • Loading branch information
gv-timur committed Oct 31, 2023
1 parent 49885e8 commit 11f9a29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ open class AdminIroha2Client(
/**
* Send metrics request
*/
suspend fun metrics(): String = client.get("${getTelemetryUrl()}$METRICS_ENDPOINT").body()
suspend fun metrics(): String = client.get("${getApiUrl()}$METRICS_ENDPOINT").body()

/**
* Send health check request
Expand All @@ -66,7 +66,7 @@ open class AdminIroha2Client(
/**
* Send status check request
*/
suspend fun status(): PeerStatus = client.get("${getTelemetryUrl()}$STATUS_ENDPOINT").body()
suspend fun status(): PeerStatus = client.get("${getApiUrl()}$STATUS_ENDPOINT").body()

/**
* Send schema request
Expand Down

0 comments on commit 11f9a29

Please sign in to comment.