mirror of
https://github.com/minio/minio.git
synced 2025-11-28 05:04:14 -05:00
Fix build issues with event target logger
This commit is contained in:
@@ -150,7 +150,7 @@ func (target *NSQTarget) Close() (err error) {
|
||||
}
|
||||
|
||||
// NewNSQTarget - creates new NSQ target.
|
||||
func NewNSQTarget(id string, args NSQArgs, doneCh <-chan struct{}, loggerOnce func(ctx context.Context, err error, id interface{})) (*NSQTarget, error) {
|
||||
func NewNSQTarget(id string, args NSQArgs, doneCh <-chan struct{}, loggerOnce func(ctx context.Context, err error, id interface{}, kind ...interface{})) (*NSQTarget, error) {
|
||||
config := nsq.NewConfig()
|
||||
if args.TLS.Enable {
|
||||
config.TlsV1 = true
|
||||
|
||||
Reference in New Issue
Block a user