tape: move scan_drives API code to correct file
This commit is contained in:
1 parent
b8d526f18d
commit
9586ce2f46
3 files changed
+26
-24
No files matched your search
@@ -116,7 +116,7 @@ fn scan_for_drives(
|
||||
) -> Result<(), Error> {
|
||||
|
||||
let output_format = get_output_format(¶m);
|
||||
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!(),
|
||||
|
||||
Reference in new issue
Block a user