src/api2/types.rs: define BLOCKDEVICE_NAME_SCHEMA

This commit is contained in:
Dietmar Maurer committed 2020-06-07 07:20:25 +02:00
1 parent fa2bdc1309
commit 9069debcd8
4 files changed
+16 -9

No files matched your search

+1 -2
View File
@@ -48,8 +48,7 @@ fn list_disks(mut param: Value, rpcenv: &mut dyn RpcEnvironment) -> Result<Value
input: {
properties: {
disk: {
description: "Block device name.",
type: String,
schema: BLOCKDEVICE_NAME_SCHEMA,
},
"output-format": {
schema: OUTPUT_FORMAT,