clean out dbgs

This commit is contained in:
Aiden McClelland
2021-09-27 15:44:27 -06:00
committed by Aiden McClelland
parent 28c2965596
commit b467c1717d
3 changed files with 3 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ impl Stream for DecryptStream {
aeskey.as_mut_slice(),
);
let ctr = Nonce::<Aes256Ctr>::from_slice(&this.ctr);
let mut aes = Aes256Ctr::new(dbg!(&aeskey), dbg!(&ctr));
let mut aes = Aes256Ctr::new(&aeskey, &ctr);
let mut res = buf.to_vec();
aes.apply_keystream(&mut res);
*this.aes = Some(aes);

View File

@@ -301,9 +301,7 @@ impl MainStatus {
},
ManagerStatus::Running => match self {
MainStatus::Stopped | MainStatus::Stopping | MainStatus::Restoring { .. } => {
dbg!("stopping");
manager.stop().await?;
dbg!("stopped");
}
MainStatus::Running { .. } => (),
MainStatus::BackingUp { .. } => {

View File

@@ -200,7 +200,7 @@ impl Volume {
volume_id,
path,
..
} => dbg!(ctx
} => ctx
.datadir
.join(PKG_VOLUME_DIR)
.join(package_id)
@@ -210,7 +210,7 @@ impl Volume {
path.strip_prefix("/").unwrap()
} else {
path.as_ref()
})),
}),
Volume::Certificate { interface_id } => ctx
.datadir
.join(PKG_VOLUME_DIR)