Toggle navigation
Toggle navigation
This project
Loading...
Sign in
서승완
/
kappa
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Ryan S. Brown
2015-02-08 17:56:46 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cea99624011290d6fe582345f49349d507bd1944
cea99624
1 parent
91a0e207
Fix call to add_event_source
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
bin/kappa
kappa/event_source.py
bin/kappa
View file @
cea9962
...
...
@@ -55,8 +55,8 @@ def main(config=None, debug=False, command=None):
ctx
.
delete
()
click
.
echo
(
'...done'
)
elif
command
==
'add-event-source'
:
click
.
echo
(
'Adding event source ...'
)
ctx
.
add_event_source
()
click
.
echo
(
'Adding event source
s
...'
)
ctx
.
add_event_source
s
()
click
.
echo
(
'...done'
)
...
...
kappa/event_source.py
View file @
cea9962
...
...
@@ -89,7 +89,7 @@ class S3EventSource(EventSource):
'CloudFunctionConfiguration'
:
{
'Id'
:
self
.
_make_notification_id
(
function
.
name
),
'Events'
:
[
e
for
e
in
self
.
_config
[
'events'
]],
'CloudFunction'
:
function
.
arn
()
,
'CloudFunction'
:
function
.
arn
,
'InvocationRole'
:
self
.
_context
.
invoke_role_arn
}}
try
:
response
=
self
.
_s3
.
put_bucket_notification
(
...
...
Please
register
or
login
to post a comment