api2/tape/drive: change methods of some api calls from put to get
makes more sense to have retrieving api calls as get instead of put Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
f45dceeb73
commit
cef4654ff4
@ -1207,12 +1207,12 @@ pub const SUBDIRS: SubdirMap = &sorted!([
|
|||||||
(
|
(
|
||||||
"cartridge-memory",
|
"cartridge-memory",
|
||||||
&Router::new()
|
&Router::new()
|
||||||
.put(&API_METHOD_CARTRIDGE_MEMORY)
|
.get(&API_METHOD_CARTRIDGE_MEMORY)
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"volume-statistics",
|
"volume-statistics",
|
||||||
&Router::new()
|
&Router::new()
|
||||||
.put(&API_METHOD_VOLUME_STATISTICS)
|
.get(&API_METHOD_VOLUME_STATISTICS)
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"read-label",
|
"read-label",
|
||||||
|
Loading…
Reference in New Issue
Block a user