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
Jose Diaz-Gonzalez
2016-05-18 00:54:41 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
648dd1125330b4363b28c17bf3c1dd24fcc2b1b1
648dd112
1 parent
6057de78
Add ability to enable and disable S3EventSource
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
kappa/event_source.py
kappa/event_source.py
View file @
648dd11
...
...
@@ -179,6 +179,8 @@ class S3EventSource(EventSource):
LOG
.
debug
(
exc
.
response
)
LOG
.
exception
(
'Unable to add S3 event source'
)
enable
=
add
def
update
(
self
,
function
):
self
.
add
(
function
)
...
...
@@ -199,6 +201,8 @@ class S3EventSource(EventSource):
NotificationConfiguration
=
response
)
LOG
.
debug
(
response
)
disable
=
remove
def
status
(
self
,
function
):
LOG
.
debug
(
'status for s3 notification for
%
s'
,
function
.
name
)
response
=
self
.
_s3
.
call
(
...
...
Please
register
or
login
to post a comment