Skip to content

Commit f638fa3

Browse files
kuujoray-milkey
andauthored
Remove error log on connection retries (#13)
* Remove error log on connection retries * Update session.go Co-authored-by: Ray Milkey <ray@opennetworking.org>
1 parent 8583a6d commit f638fa3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/client/primitive/session.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ package primitive
1717
import (
1818
"context"
1919
"errors"
20-
"fmt"
2120
"github.com/atomix/api/proto/atomix/headers"
2221
"github.com/atomix/api/proto/atomix/metadata"
2322
primitiveapi "github.com/atomix/api/proto/atomix/primitive"
@@ -417,7 +416,6 @@ func (s *Session) doRequest(requestHeader *headers.RequestHeader, f func(conn *g
417416
return nil, errors.New("an unknown error occurred")
418417
}
419418
} else {
420-
fmt.Println(err)
421419
i++
422420
time.Sleep(time.Duration(math.Max(math.Pow(float64(i), 2), 1000)) * time.Millisecond)
423421
}

0 commit comments

Comments
 (0)