Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelvillard committed Sep 14, 2020
1 parent c5fabfd commit 39fbaf1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/adapter/mtping/pingsource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,10 @@ func TestAllCases(t *testing.T) {

table.Test(t, MakeFactory(func(ctx context.Context, listers *Listers, cmw configmap.Watcher) controller.Reconciler {
r := &Reconciler{
cronRunner: NewCronJobsRunner(ce, testclient.NewSimpleClientset(), logger),
entryidMu: sync.RWMutex{},
entryids: make(map[string]cron.EntryID),
pingsourceLister: listers.GetPingSourceV1beta1Lister(),
cronRunner: NewCronJobsRunner(ce, testclient.NewSimpleClientset(), logger),
entryidMu: sync.RWMutex{},
entryids: make(map[string]cron.EntryID),
}
return pingsource.NewReconciler(ctx, logging.FromContext(ctx),
fakeeventingclient.Get(ctx), listers.GetPingSourceV1beta1Lister(),
Expand Down

0 comments on commit 39fbaf1

Please sign in to comment.