diff --git a/main.go b/main.go index 8e87f88..112cfda 100644 --- a/main.go +++ b/main.go @@ -65,14 +65,6 @@ func init() { var mainCtx, mainCancel = context.WithCancel(context.Background()) -// TODO(soltesz): query memorystore for list of known hosts. -type FakeRecordLister struct{} - -// List is a fake implementation of the RecordLister interface. -func (r *FakeRecordLister) List() ([]string, error) { - return []string{}, nil -} - func main() { flag.Parse() rtx.Must(flagx.ArgsFromEnv(flag.CommandLine), "Could not parse env args") @@ -115,7 +107,7 @@ func main() { defer gc.Stop() // Create server. - s := handler.NewServer(project, i, mm, asn, d, gc, &FakeRecordLister{}) + s := handler.NewServer(project, i, mm, asn, d, gc) go func() { // Load once. s.Iata.Load(mainCtx)