mirror of
https://github.com/zrepl/zrepl.git
synced 2025-06-26 12:41:22 +02:00
fixup 308e5e35fb05ef4652f92009e200f8bac7b55eb3: remove fprintf debug output
This commit is contained in:
parent
c21222ef13
commit
9eca269ad8
@ -11,8 +11,6 @@ import (
|
||||
"context"
|
||||
"github.com/pkg/errors"
|
||||
"sync/atomic"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
type StdinserverListenerFactory struct {
|
||||
@ -87,9 +85,7 @@ func (m *MultiStdinserverListener) Accept(ctx context.Context) (AuthenticatedCon
|
||||
for i := range m.listeners {
|
||||
go func(i int) {
|
||||
for atomic.LoadInt32(&m.closed) == 0 {
|
||||
fmt.Fprintf(os.Stderr, "accepting\n")
|
||||
conn, err := m.listeners[i].Accept(context.TODO())
|
||||
fmt.Fprintf(os.Stderr, "incoming\n")
|
||||
m.accepts <- multiStdinserverAcceptRes{conn, err}
|
||||
}
|
||||
}(i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user