tape: proxmox-tape - use api for erase-media and rewind
This commit is contained in:
@ -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