tape: proxmox-tape - use api for erase-media and rewind

This commit is contained in:
Dietmar Maurer committed 2021-01-28 16:36:10 +01:00
1 parent 1a0eb86344
commit eb1dfb02b5
2 files changed
+27 -25

No files matched your search

+2 -2
View File
@@ -1181,7 +1181,7 @@ pub const SUBDIRS: SubdirMap = &sorted!([
(
"erase-media",
&Router::new()
.put(&API_METHOD_ERASE_MEDIA)
.post(&API_METHOD_ERASE_MEDIA)
),
(
"inventory",
@@ -1222,7 +1222,7 @@ pub const SUBDIRS: SubdirMap = &sorted!([
(
"rewind",
&Router::new()
.put(&API_METHOD_REWIND)
.post(&API_METHOD_REWIND)
),
(
"status",