Skip to content

Commit

Permalink
Set UNKNOWN events as environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
catttam committed Mar 25, 2024
1 parent 1b8b086 commit 7f6dbcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion faassupervisor/events/unknown.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ def __init__(self, event):
self._set_event_params()

def _set_event_params(self):
""" Generic method to be implemented by all the event parsers. """
""" Saves the event as a environment variable of the container """
SysUtils.set_env_var("DECODED_EVENT", self.event_records)

def get_type(self):
"""Returns the event type.
Expand Down

0 comments on commit 7f6dbcd

Please sign in to comment.