src/api2/config/datastore.rs_ fix method docs
This commit is contained in:
parent
8b57cd4441
commit
2ea7bf1b3d
@ -128,7 +128,7 @@ pub fn read_datastore(name: String) -> Result<Value, Error> {
|
|||||||
permission: &Permission::Privilege(&["datastore", "{name}"], PRIV_DATASTORE_ALLOCATE, false),
|
permission: &Permission::Privilege(&["datastore", "{name}"], PRIV_DATASTORE_ALLOCATE, false),
|
||||||
},
|
},
|
||||||
)]
|
)]
|
||||||
/// Create new datastore config.
|
/// Update datastore config.
|
||||||
pub fn update_datastore(
|
pub fn update_datastore(
|
||||||
name: String,
|
name: String,
|
||||||
comment: Option<String>,
|
comment: Option<String>,
|
||||||
|
Loading…
Reference in New Issue
Block a user