Skip to content

Commit

Permalink
Merge 0717609 into d0077fe
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-soltesz committed Feb 27, 2024
2 parents d0077fe + 0717609 commit ebd3929
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions handler/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
package handler

import (
"context"
"errors"
"net/http"
"net/http/httptest"
Expand Down Expand Up @@ -45,18 +44,6 @@ func (s *fakeSigner) Sign(cl jwt.Claims) (string, error) {
return t, nil
}

type fakeLocator struct {
err error
targets []v2.Target
}

func (l *fakeLocator) Nearest(ctx context.Context, service, lat, lon string) ([]v2.Target, error) {
if l.err != nil {
return nil, l.err
}
return l.targets, nil
}

type fakeLocatorV2 struct {
heartbeat.StatusTracker
err error
Expand Down

0 comments on commit ebd3929

Please sign in to comment.