Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo6Leo committed Oct 31, 2023
1 parent 24fafad commit 4bbe5b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions test/rekt/features/pingsource/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ import (
"knative.dev/eventing/test/rekt/resources/pingsource"
)

const (
exampleImage = "ko://knative.dev/eventing/test/test_images/print"
)

func SendsEventsWithSinkRef() *feature.Feature {
source := feature.MakeRandomK8sName("pingsource")
sink := feature.MakeRandomK8sName("sink")
Expand Down
7 changes: 0 additions & 7 deletions test/rekt/resources/pingsource/pingsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import (
"strings"
"time"

"knative.dev/eventing/test/rekt/resources/addressable"

"k8s.io/apimachinery/pkg/runtime/schema"
duckv1 "knative.dev/pkg/apis/duck/v1"
"knative.dev/reconciler-test/pkg/k8s"
Expand Down Expand Up @@ -126,8 +124,3 @@ func WithSchedule(schedule string) manifest.CfgFn {
}
}
}

// ValidateAddress validates the address retured by Address
func ValidateAddress(name string, validate addressable.ValidateAddressFn, timings ...time.Duration) feature.StepFn {
return addressable.ValidateAddress(Gvr(), name, validate, timings...)
}

0 comments on commit 4bbe5b9

Please sign in to comment.