tape: proxmox-tape - use API instead of direct functions calls

This commit is contained in:
Dietmar Maurer committed 2021-01-29 10:50:11 +01:00
1 parent 4470eba551
commit 5243df4712
2 files changed
+49 -63

No files matched your search

+6 -1
View File
@@ -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",