From 5f056496ced618a55162153a531cd75ddbadeb4e Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Sun, 22 Mar 2026 20:03:50 -0500 Subject: [PATCH] remove Output function from non-output modules --- internal/module/db-sqlite.go | 4 ---- internal/module/redis-client.go | 5 ----- 2 files changed, 9 deletions(-) diff --git a/internal/module/db-sqlite.go b/internal/module/db-sqlite.go index 924789d..07f5adb 100644 --- a/internal/module/db-sqlite.go +++ b/internal/module/db-sqlite.go @@ -66,10 +66,6 @@ func (t *DbSqlite) Start(ctx context.Context) error { return nil } -func (t *DbSqlite) Output(ctx context.Context, payload any) error { - return nil -} - func (t *DbSqlite) Stop() { if t.db != nil { t.db.Close() diff --git a/internal/module/redis-client.go b/internal/module/redis-client.go index 1e1071c..05aee07 100644 --- a/internal/module/redis-client.go +++ b/internal/module/redis-client.go @@ -79,11 +79,6 @@ func (rc *RedisClient) Start(ctx context.Context) error { return nil } -func (rc *RedisClient) Output(ctx context.Context, payload any) error { - - return errors.ErrUnsupported -} - func (rc *RedisClient) Stop() { rc.cancel() }