src/api2/config/datastore.rs_ fix method docs

This commit is contained in:
Dietmar Maurer 2020-04-22 08:53:16 +02:00
parent 8b57cd4441
commit 2ea7bf1b3d

View File

@ -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>,