From 2a39ae77e1f31b11e72cb5140accd2859785500a Mon Sep 17 00:00:00 2001 From: Ruslan Akhtariev Date: Thu, 25 Jan 2024 19:04:04 -0800 Subject: [PATCH] remove unused print --- balancer/balancer.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/balancer/balancer.go b/balancer/balancer.go index 05fede2..25e33ea 100644 --- a/balancer/balancer.go +++ b/balancer/balancer.go @@ -3,7 +3,6 @@ package balancer import ( "context" "crypto/sha256" - "fmt" "math/big" db "github.com/pysel/dkvs/leveldb" @@ -113,7 +112,6 @@ func (b *Balancer) Get(ctx context.Context, key []byte) (*prototypes.GetResponse if err != nil { // remove the partition if it is offline if s, ok := status.FromError(err); ok { - fmt.Println(s, s.Code(), s.Code() == codes.Unavailable) if s.Code() == codes.Unavailable { offlineAddressesErr.Addresses = append(offlineAddressesErr.Addresses, rangeView.addresses[i]) offlineAddressesErr.Errors = append(offlineAddressesErr.Errors, err)