Skip to content

Commit

Permalink
Add parallel.ValidateAddress so that release-1.12 backports work (#7510)
Browse files Browse the repository at this point in the history
Add parallel.ValidateAddress so that backports work

Signed-off-by: Calum Murray <[email protected]>
  • Loading branch information
Cali0707 authored Dec 18, 2023
1 parent dc0d217 commit b66f219
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/rekt/resources/parallel/parallel.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,8 @@ func WithChannelTemplate(template channel_template.ChannelTemplate) manifest.Cfg
channelTemplate["spec"] = template.Spec
}
}

// 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 b66f219

Please sign in to comment.