remove unused variables

This commit is contained in:
Chris Lu 2019-02-18 20:05:55 -08:00
parent d37c3ab7a5
commit 448645203a

View file

@ -2,20 +2,13 @@ package operation
import ( import (
"fmt" "fmt"
"strconv"
"strings"
"sync"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/chrislusf/seaweedfs/weed/pb/master_pb"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/chrislusf/seaweedfs/weed/util"
"google.golang.org/grpc" "google.golang.org/grpc"
) "strconv"
"strings"
var (
grpcClients = make(map[string]*grpc.ClientConn)
grpcClientsLock sync.Mutex
) )
func WithVolumeServerClient(volumeServer string, grpcDialOption grpc.DialOption, fn func(volume_server_pb.VolumeServerClient) error) error { func WithVolumeServerClient(volumeServer string, grpcDialOption grpc.DialOption, fn func(volume_server_pb.VolumeServerClient) error) error {