src/api2/admin/datastore/backup.rs: suse POST for finish() api
This commit is contained in:
parent
de6742c04f
commit
a55fcd740f
@ -160,7 +160,7 @@ fn backup_api() -> Router {
|
|||||||
)
|
)
|
||||||
.subdir(
|
.subdir(
|
||||||
"finish", Router::new()
|
"finish", Router::new()
|
||||||
.get(
|
.post(
|
||||||
ApiMethod::new(
|
ApiMethod::new(
|
||||||
finish_backup,
|
finish_backup,
|
||||||
ObjectSchema::new("Mark backup as finished.")
|
ObjectSchema::new("Mark backup as finished.")
|
||||||
|
Loading…
Reference in New Issue
Block a user