aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/volume_server.proto
diff options
context:
space:
mode:
Diffstat (limited to 'weed/pb/volume_server.proto')
-rw-r--r--weed/pb/volume_server.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/pb/volume_server.proto b/weed/pb/volume_server.proto
index 3b5b36a21..538ddf9e1 100644
--- a/weed/pb/volume_server.proto
+++ b/weed/pb/volume_server.proto
@@ -19,7 +19,7 @@ service VolumeServer {
rpc DeleteCollection (DeleteCollectionRequest) returns (DeleteCollectionResponse) {
}
- rpc AssignVolume (AssignVolumeRequest) returns (AssignVolumeResponse) {
+ rpc AllocateVolume (AllocateVolumeRequest) returns (AllocateVolumeResponse) {
}
rpc VolumeSyncStatus (VolumeSyncStatusRequest) returns (VolumeSyncStatusResponse) {
@@ -94,14 +94,14 @@ message DeleteCollectionRequest {
message DeleteCollectionResponse {
}
-message AssignVolumeRequest {
+message AllocateVolumeRequest {
uint32 volume_id = 1;
string collection = 2;
int64 preallocate = 3;
string replication = 4;
string ttl = 5;
}
-message AssignVolumeResponse {
+message AllocateVolumeResponse {
}
message VolumeSyncStatusRequest {