Skip to content

Commit

Permalink
fix trigger template
Browse files Browse the repository at this point in the history
Signed-off-by: Calum Murray <cmurray@redhat.com>
  • Loading branch information
Cali0707 authored and knative-prow-robot committed Jun 27, 2024
1 parent e1e673d commit fd3b48b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/rekt/features/trigger/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TriggerDependencyAnnotation() *feature.Feature {
f.Setup("broker is addressable", broker.IsAddressable(brokerName))

psourcename := "test-ping-source-annotation"
dependencyAnnotation := `'{"kind":"PingSource","name":"test-ping-source-annotation","apiVersion":"sources.knative.dev/v1"}'`
dependencyAnnotation := `{"kind":"PingSource","name":"test-ping-source-annotation","apiVersion":"sources.knative.dev/v1"}`
annotations := map[string]interface{}{
"knative.dev/dependency": dependencyAnnotation,
}
Expand Down
2 changes: 1 addition & 1 deletion test/rekt/resources/trigger/trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metadata:
{{ if .annotations }}
annotations:
{{ range $key, $value := .annotations }}
{{ $key }}: {{ $value }}
{{ $key }}: '{{ $value }}'
{{ end }}
{{ end }}
spec:
Expand Down

0 comments on commit fd3b48b

Please sign in to comment.