From ea2e04d09e91c052b896b62eafa28f1044b4fcbd Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Tue, 12 Mar 2024 20:05:11 -0700 Subject: [PATCH] fix: enats unsupported signature --- enats/enats_unsupported.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/enats/enats_unsupported.go b/enats/enats_unsupported.go index 4d54daae..9e1a3d65 100644 --- a/enats/enats_unsupported.go +++ b/enats/enats_unsupported.go @@ -6,6 +6,7 @@ package enats import ( "context" "errors" + "log/slog" ) // NewConfig returns defaults for NATSServiceConfig @@ -21,6 +22,10 @@ func (Service) Start() error { } func (Service) Shutdown(ctx context.Context) error { return nil } -func NewService(c *Config) *Service { +func NewService(c *Config, l *slog.Logger) *Service { return &Service{} } + +func (s *Service) WaitJetStreamReady(v int) error { + return errors.New("not implemented") +}