mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
clean out dbgs
This commit is contained in:
committed by
Aiden McClelland
parent
28c2965596
commit
b467c1717d
@@ -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);
|
||||
|
||||
@@ -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 { .. } => {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user