From e400835eb77d16b8f368754b75e53ee251ca0bd8 Mon Sep 17 00:00:00 2001 From: Dmytro Date: Mon, 6 May 2024 11:56:50 +0100 Subject: [PATCH] url update (#10216) Update query url --- cmd/diag/downloader/diag_downloader.go | 2 +- cmd/diag/stages/stages.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/diag/downloader/diag_downloader.go b/cmd/diag/downloader/diag_downloader.go index af3350e4b70..db6b784dcb2 100644 --- a/cmd/diag/downloader/diag_downloader.go +++ b/cmd/diag/downloader/diag_downloader.go @@ -26,7 +26,7 @@ var Command = cli.Command{ func print(cliCtx *cli.Context) error { var data diagnostics.SyncStatistics - url := "http://" + cliCtx.String(flags.DebugURLFlag.Name) + "/debug/snapshot-sync" + url := "http://" + cliCtx.String(flags.DebugURLFlag.Name) + "/debug/diag/snapshot-sync" err := util.MakeHttpGetCall(cliCtx.Context, url, &data) diff --git a/cmd/diag/stages/stages.go b/cmd/diag/stages/stages.go index 9837de2f041..9addc0ff585 100644 --- a/cmd/diag/stages/stages.go +++ b/cmd/diag/stages/stages.go @@ -32,7 +32,7 @@ var Command = cli.Command{ func printCurentStage(cliCtx *cli.Context) error { var data diagnostics.SyncStatistics - url := "http://" + cliCtx.String(flags.DebugURLFlag.Name) + "/debug/snapshot-sync" + url := "http://" + cliCtx.String(flags.DebugURLFlag.Name) + "/debug/diag/snapshot-sync" err := util.MakeHttpGetCall(cliCtx.Context, url, &data) if err != nil {