mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-09 06:39:25 +00:00
chore(protos): update proto definitions, remove ns_scanner, fix codegen and formatting
Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
@@ -423,19 +423,6 @@ message DiskInfoResponse {
|
||||
optional Error error = 3;
|
||||
}
|
||||
|
||||
message NsScannerRequest {
|
||||
string disk = 1;
|
||||
string cache = 2;
|
||||
uint64 scan_mode = 3;
|
||||
}
|
||||
|
||||
message NsScannerResponse {
|
||||
bool success = 1;
|
||||
string update = 2;
|
||||
string data_usage_cache = 3;
|
||||
optional Error error = 4;
|
||||
}
|
||||
|
||||
// lock api have same argument type
|
||||
message GenerallyLockRequest {
|
||||
string args = 1;
|
||||
@@ -805,7 +792,6 @@ service NodeService {
|
||||
rpc ReadMultiple(ReadMultipleRequest) returns (ReadMultipleResponse) {};
|
||||
rpc DeleteVolume(DeleteVolumeRequest) returns (DeleteVolumeResponse) {};
|
||||
rpc DiskInfo(DiskInfoRequest) returns (DiskInfoResponse) {};
|
||||
rpc NsScanner(stream NsScannerRequest) returns (stream NsScannerResponse) {};
|
||||
|
||||
/* -------------------------------lock service-------------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user