Skip to content

Commit

Permalink
Fix EventListener Storybook Entry
Browse files Browse the repository at this point in the history
I copied the Triggers from Trigger.stories.js, and forgot to remove the
`eventListenerNamespace` prop. So, this PR removes them.

Also, header names should be capitalized.
  • Loading branch information
Brandon Walker authored and tekton-robot committed Feb 11, 2020
1 parent fa1236e commit 882e5d7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/containers/EventListener/EventListener.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const eventListener = {
serviceAccountName: 'my-serviceaccount',
triggers: [
{
eventListenerNamespace: 'default',
name: 'my-trigger',
bindings: [
{ name: 'triggerbinding0' },
Expand All @@ -50,11 +49,11 @@ const eventListener = {
webhook: {
header: [
{
name: 'header0',
name: 'Header0',
value: 'value0'
},
{
name: 'header1',
name: 'Header1',
value: ['value1-0', 'value1-1', 'value1-2']
}
],
Expand All @@ -69,7 +68,6 @@ const eventListener = {
]
},
{
eventListenerNamespace: 'foo',
name: 'my-trigger-1',
bindings: [{ name: 'triggerbinding1' }],
template: {
Expand All @@ -94,7 +92,6 @@ const eventListener = {
]
},
{
eventListenerNamespace: 'foo',
name: 'my-trigger-2',
bindings: [{ name: 'triggerbinding2' }],
template: {
Expand All @@ -113,7 +110,6 @@ const eventListener = {
]
},
{
eventListenerNamespace: 'foo',
name: 'my-trigger-3',
bindings: [{ name: 'triggerbinding3' }],
template: {
Expand Down

0 comments on commit 882e5d7

Please sign in to comment.