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:
Dominik Csapak 2021-01-28 12:59:43 +01:00 committed by Dietmar Maurer
parent f45dceeb73
commit cef4654ff4

View File

@ -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",