Skip to content

Commit

Permalink
url update (#10216)
Browse files Browse the repository at this point in the history
Update query url
  • Loading branch information
dvovk authored May 6, 2024
1 parent e62afc7 commit e400835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/diag/downloader/diag_downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion cmd/diag/stages/stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e400835

Please sign in to comment.