more api type cleanups: avoid re-exports

This commit is contained in:
Dietmar Maurer
2021-09-10 12:25:32 +02:00
parent e384f16a19
commit 6227654ad8
45 changed files with 245 additions and 290 deletions

View File

@ -29,11 +29,9 @@ use proxmox::{
tools::io::{ReadExt, WriteExt},
};
use pbs_api_types::{MamAttribute, Lp17VolumeStatistics};
use crate::{
api2::types::{
MamAttribute,
Lp17VolumeStatistics,
},
tape::{
BlockRead,
BlockReadError,

View File

@ -7,12 +7,11 @@ use endian_trait::Endian;
use proxmox::tools::io::ReadExt;
use pbs_api_types::MamAttribute;
use crate::{
api2::types::MamAttribute,
tools::sgutils2::SgRaw,
tape::{
drive::lto::TapeAlertFlags,
},
tape::drive::lto::TapeAlertFlags,
};
// Read Medium auxiliary memory attributes (MAM)

View File

@ -6,10 +6,9 @@ use endian_trait::Endian;
use proxmox::tools::io::ReadExt;
use crate::{
api2::types::Lp17VolumeStatistics,
tools::sgutils2::SgRaw,
};
use pbs_api_types::Lp17VolumeStatistics;
use crate::tools::sgutils2::SgRaw;
/// SCSI command to query volume statistics
///