Skip to content

Commit

Permalink
cleanup(probeservices): drop deprecated check_report_id API (#1006)
Browse files Browse the repository at this point in the history
This diff drops the deprecated check_report_id API.

See ooni/probe#2380
  • Loading branch information
bassosimone authored Dec 14, 2022
1 parent 8df1173 commit ccbdc1b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 98 deletions.
2 changes: 1 addition & 1 deletion PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- [ ] I have read the [contribution guidelines](https://github.com/ooni/probe-cli/blob/master/CONTRIBUTING.md)
- [ ] reference issue for this pull request: <!-- add URL here -->
- [ ] if you changed anything related how experiments work and you need to reflect these changes in the ooni/spec repository, please link to the related ooni/spec pull request: <!-- add URL here -->
- [ ] if you change code inside an experiment, make sure you bump its version number
- [ ] if you changed code inside an experiment, make sure you bump its version number

<!-- Reminder: Location of the issue tracker: https://github.com/ooni/probe -->

Expand Down
8 changes: 0 additions & 8 deletions internal/cmd/apitool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ func main() {
log.SetLevel(logmap[*debug])
client := newclient()
switch *mode {
case "check":
check(client)
case "meta":
meta(client)
case "raw":
Expand All @@ -79,12 +77,6 @@ func main() {
}
}

func check(c probeservices.Client) {
found, err := c.CheckReportID(context.Background(), *reportid)
fatalOnError(err, "c.CheckReportID failed")
fmt.Printf("%+v\n", found)
}

func meta(c probeservices.Client) {
pprint(mmeta(c, false))
}
Expand Down
26 changes: 0 additions & 26 deletions internal/engine/probeservices/checkreportid.go

This file was deleted.

63 changes: 0 additions & 63 deletions internal/engine/probeservices/checkreportid_test.go

This file was deleted.

0 comments on commit ccbdc1b

Please sign in to comment.