tape: proxmox-tape - use api for erase-media and rewind
This commit is contained in:
1 parent
1a0eb86344
commit
eb1dfb02b5
2 files changed
+27
-25
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user