Skip to content

Commit

Permalink
clean up some unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell committed Oct 25, 2023
1 parent 2f261b0 commit 4c482a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions pkg/reporting/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ type Report interface {
GetMtx() *sync.Mutex
}

type ReportEvent interface{}

var _ Report = &InstanceReport{}
var _ Report = &PreflightReport{}

Expand Down
6 changes: 0 additions & 6 deletions pkg/reporting/report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,6 @@ func createTestsForEvent(t *testing.T, testReport Report) []CreateReportEventTes
testReportWithMaxEventsData, err := EncodeReport(testReport)
require.NoError(t, err)

type args struct {
clientset kubernetes.Interface
namespace string
appSlug string
event ReportEvent
}
tests := []CreateReportEventTest{
{
name: "secret does not exist",
Expand Down

0 comments on commit 4c482a9

Please sign in to comment.