diff options
| author | j.laycock <joseph.laycock@4sightimaging.com> | 2019-09-05 11:14:02 +0100 |
|---|---|---|
| committer | j.laycock <joseph.laycock@4sightimaging.com> | 2019-09-05 11:14:02 +0100 |
| commit | 84f2dc3b53e7c8d6f3732bcb18303ff85a0c30ee (patch) | |
| tree | 2aa348f58dabceb4e7626644c0993e0cf1f2bd2a | |
| parent | 4a878c0006ba97af83e8ad546839f42f1a224c7f (diff) | |
| download | seaweedfs-84f2dc3b53e7c8d6f3732bcb18303ff85a0c30ee.tar.xz seaweedfs-84f2dc3b53e7c8d6f3732bcb18303ff85a0c30ee.zip | |
Remove test code
| -rw-r--r-- | weed/pb/volume_server_pb/volume_server.pb.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/weed/pb/volume_server_pb/volume_server.pb.go b/weed/pb/volume_server_pb/volume_server.pb.go index addaf9a65..deab62bb1 100644 --- a/weed/pb/volume_server_pb/volume_server.pb.go +++ b/weed/pb/volume_server_pb/volume_server.pb.go @@ -1979,18 +1979,6 @@ func _VolumeServer_DeleteCollection_Handler(srv interface{}, ctx context.Context func _VolumeServer_AllocateVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AllocateVolumeRequest) - if in.MemoryMapMaxSizeMB > 0 { - test := 6 - test += 5 - } - if in.MemoryMapMaxSizeMB == 77 { - test := 7 - test += 656 - } - if in.Ttl != "" { - test := 2345 - test += 567 - } if err := dec(in); err != nil { return nil, err } |
