From 6b0ad1c95f0f1c15b84fc4872029b23bde5283b0 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Fri, 10 Feb 2023 11:03:24 +0100 Subject: [PATCH] cleanup(oonimkall): remove MaybeUpdateResources stub This diff ensures we remove in probe-cli all the functions we have removed in https://github.com/ooni/probe-android/pull/552. Part of https://github.com/ooni/probe/issues/2273. Tested by recompiling the AAR and linking it into the Android app. --- pkg/oonimkall/session.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/oonimkall/session.go b/pkg/oonimkall/session.go index 5ec01dc34d..92c4a5cc92 100644 --- a/pkg/oonimkall/session.go +++ b/pkg/oonimkall/session.go @@ -270,12 +270,6 @@ type GeolocateResults struct { Org string } -// MaybeUpdateResources is a legacy stub. It does nothing. We will -// remove it when we're ready to bump the major number. -func (sess *Session) MaybeUpdateResources(ctx *Context) error { - return nil -} - // Geolocate performs a geolocate operation and returns the results. // // This function locks the session until it's done. That is, no other operation