Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Sep 11, 2024
1 parent c50bcd5 commit 183f888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"sync"
"testing"

v2 "github.com/m-lab/locate/api/v2"
locatev2 "github.com/m-lab/locate/api/v2"
"github.com/neubot/dash/model"
)

Expand Down Expand Up @@ -370,7 +370,7 @@ func TestClientLoop(t *testing.T) {
type failingLocator struct{}

// Nearest implements locator.
func (f *failingLocator) Nearest(ctx context.Context, service string) ([]v2.Target, error) {
func (f *failingLocator) Nearest(ctx context.Context, service string) ([]locatev2.Target, error) {
return nil, errors.New("mocked error")
}

Expand Down

0 comments on commit 183f888

Please sign in to comment.