tape: move scan_drives API code to correct file

This commit is contained in:
Dietmar Maurer committed 2021-01-30 08:03:17 +01:00
1 parent b8d526f18d
commit 9586ce2f46
3 files changed
+26 -24

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ fn scan_for_drives(
) -> Result<(), Error> {
let output_format = get_output_format(&param);
let info = &api2::tape::drive::API_METHOD_SCAN_DRIVES;
let info = &api2::tape::API_METHOD_SCAN_DRIVES;
let mut data = match info.handler {
ApiHandler::Sync(handler) => (handler)(param, info, rpcenv)?,
_ => unreachable!(),