geolocate: first pass of code review and minor fixes (#359)

* doc(geolocate): minor cleanup

* more minor cleanups of geolocate

* remove disabled test and see whether now it works
This commit is contained in:
Simone Basso 2021-06-04 16:06:24 +02:00 committed by GitHub
commit f271e71c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 38 deletions

View file

@ -265,7 +265,7 @@ func TestLocationLookupSuccessWithResolverLookup(t *testing.T) {
func TestSmoke(t *testing.T) {
config := Config{}
task := Must(NewTask(config))
task := NewTask(config)
result, err := task.Run(context.Background())
if err != nil {
t.Fatal(err)