tape: proxmox-tape - use API instead of direct functions calls
This commit is contained in:
@ -1202,6 +1202,11 @@ pub const SUBDIRS: SubdirMap = &sorted!([
|
||||
&Router::new()
|
||||
.post(&API_METHOD_ERASE_MEDIA)
|
||||
),
|
||||
(
|
||||
"export-media",
|
||||
&Router::new()
|
||||
.put(&API_METHOD_EXPORT_MEDIA)
|
||||
),
|
||||
(
|
||||
"inventory",
|
||||
&Router::new()
|
||||
@ -1211,7 +1216,7 @@ pub const SUBDIRS: SubdirMap = &sorted!([
|
||||
(
|
||||
"label-media",
|
||||
&Router::new()
|
||||
.put(&API_METHOD_LABEL_MEDIA)
|
||||
.post(&API_METHOD_LABEL_MEDIA)
|
||||
),
|
||||
(
|
||||
"load-media",
|
||||
|
Reference in New Issue
Block a user