Skip to content

Commit

Permalink
fix: add missing _get_sink_type method to zulip sink (#1498)
Browse files Browse the repository at this point in the history
Co-authored-by: Oscar Guertler <o.guertler@traveltrex.com>
  • Loading branch information
oscgu and oguertler authored Jul 15, 2024
1 parent 8819642 commit 80304c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/robusta/core/sinks/zulip/zulip_sink_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ class ZulipSinkParams(SinkBaseParams):
topic_override: Optional[str] = None
log_preview_char_limit: int = 500

@classmethod
def _get_sink_type(cls):
return "zulip"

@validator("topic_override")
def validate_topic_override(cls, v: str):
return ChannelTransformer.validate_channel_override(v)
Expand Down

0 comments on commit 80304c4

Please sign in to comment.