Skip to content

Commit

Permalink
feat(pingdom): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rkettelerij committed Jun 20, 2024
1 parent c96dbe5 commit c3ebb21
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions internal/controller/ingressroute_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,12 @@ func newTestUptimeProvider() *testUptimeProvider {
}
}

func (m *testUptimeProvider) HasCheck(check m.UptimeCheck) bool {
_, ok := m.checks[check.ID]
return ok
}

func (m *testUptimeProvider) CreateOrUpdateCheck(check m.UptimeCheck) error {
func (m *testUptimeProvider) CreateOrUpdateCheck(_ context.Context, check m.UptimeCheck) error {
m.checks[check.ID] = check
return nil
}

func (m *testUptimeProvider) DeleteCheck(check m.UptimeCheck) error {
func (m *testUptimeProvider) DeleteCheck(_ context.Context, check m.UptimeCheck) error {
delete(m.checks, check.ID)
return nil
}
Expand Down

0 comments on commit c3ebb21

Please sign in to comment.