mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-23 06:30:04 +00:00
Updated rasctl server information output
This commit is contained in:
parent
3a1aaaf68b
commit
49211fda68
@ -259,10 +259,7 @@ void CommandServerInfo(const string& hostname, int port)
|
||||
block_sizes.push_back(properties.block_sizes(k));
|
||||
}
|
||||
|
||||
if (block_sizes.empty()) {
|
||||
cout << " Block size is not configurable" << endl;
|
||||
}
|
||||
else {
|
||||
if (!block_sizes.empty()) {
|
||||
block_sizes.sort([](const int& a, const int& b) { return a < b; });
|
||||
|
||||
cout << " Configurable block sizes: ";
|
||||
|
Loading…
Reference in New Issue
Block a user