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",
|
||||
&Router::new()
|
||||
.put(&API_METHOD_CARTRIDGE_MEMORY)
|
||||
.get(&API_METHOD_CARTRIDGE_MEMORY)
|
||||
),
|
||||
(
|
||||
"volume-statistics",
|
||||
&Router::new()
|
||||
.put(&API_METHOD_VOLUME_STATISTICS)
|
||||
.get(&API_METHOD_VOLUME_STATISTICS)
|
||||
),
|
||||
(
|
||||
"read-label",
|
||||
|
Loading…
Reference in New Issue
Block a user