diff options
Diffstat (limited to 'weed/operation')
| -rw-r--r-- | weed/operation/assign_file_id.go | 3 | ||||
| -rw-r--r-- | weed/operation/grpc_client.go | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.go index d9f12e545..924b29c0e 100644 --- a/weed/operation/assign_file_id.go +++ b/weed/operation/assign_file_id.go @@ -1,9 +1,10 @@ package operation import ( + "context" "fmt" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" - "context" ) type VolumeAssignRequest struct { diff --git a/weed/operation/grpc_client.go b/weed/operation/grpc_client.go index 6720fe3a3..b1d6a633e 100644 --- a/weed/operation/grpc_client.go +++ b/weed/operation/grpc_client.go @@ -4,14 +4,14 @@ import ( "fmt" "strconv" "strings" + "sync" "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/chrislusf/seaweedfs/weed/util" - "sync" "google.golang.org/grpc" - ) +) var ( grpcClients = make(map[string]*grpc.ClientConn) |
