Skip to content

Commit

Permalink
fixed some linting errors
Browse files Browse the repository at this point in the history
Signed-off-by: Daan Gerits <daan.gerits@gmail.com>
  • Loading branch information
calmera committed Jun 11, 2024
1 parent d692a5c commit bdbf74b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions internal/components/nats/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ func connectionTailFields() []*service.ConfigField {
}

type connectionDetails struct {
label string
logger *service.Logger
tlsConf *tls.Config
fs *service.FS
poolKey string
urls string
opts []nats.Option
Expand Down
5 changes: 0 additions & 5 deletions internal/components/nats/request_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ func (r *requestReplyProcessor) connect(ctx context.Context) (err error) {
}
}()

var extraOpts []nats.Option
if r.inboxPrefix != "" {
extraOpts = append(extraOpts, nats.CustomInboxPrefix(r.inboxPrefix))
}

if r.natsConn, err = pool.Get(ctx, r.pcid, r.connDetails); err != nil {
return err
}
Expand Down

0 comments on commit bdbf74b

Please sign in to comment.