Skip to content

Commit

Permalink
fix: enats unsupported signature
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Mar 13, 2024
1 parent c1911e0 commit ea2e04d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion enats/enats_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package enats
import (
"context"
"errors"
"log/slog"
)

// NewConfig returns defaults for NATSServiceConfig
Expand All @@ -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")
}

0 comments on commit ea2e04d

Please sign in to comment.