mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
clean out dbgs
This commit is contained in:
@@ -75,7 +75,7 @@ impl Stream for DecryptStream {
|
|||||||
aeskey.as_mut_slice(),
|
aeskey.as_mut_slice(),
|
||||||
);
|
);
|
||||||
let ctr = Nonce::<Aes256Ctr>::from_slice(&this.ctr);
|
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();
|
let mut res = buf.to_vec();
|
||||||
aes.apply_keystream(&mut res);
|
aes.apply_keystream(&mut res);
|
||||||
*this.aes = Some(aes);
|
*this.aes = Some(aes);
|
||||||
|
|||||||
@@ -301,9 +301,7 @@ impl MainStatus {
|
|||||||
},
|
},
|
||||||
ManagerStatus::Running => match self {
|
ManagerStatus::Running => match self {
|
||||||
MainStatus::Stopped | MainStatus::Stopping | MainStatus::Restoring { .. } => {
|
MainStatus::Stopped | MainStatus::Stopping | MainStatus::Restoring { .. } => {
|
||||||
dbg!("stopping");
|
|
||||||
manager.stop().await?;
|
manager.stop().await?;
|
||||||
dbg!("stopped");
|
|
||||||
}
|
}
|
||||||
MainStatus::Running { .. } => (),
|
MainStatus::Running { .. } => (),
|
||||||
MainStatus::BackingUp { .. } => {
|
MainStatus::BackingUp { .. } => {
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ impl Volume {
|
|||||||
volume_id,
|
volume_id,
|
||||||
path,
|
path,
|
||||||
..
|
..
|
||||||
} => dbg!(ctx
|
} => ctx
|
||||||
.datadir
|
.datadir
|
||||||
.join(PKG_VOLUME_DIR)
|
.join(PKG_VOLUME_DIR)
|
||||||
.join(package_id)
|
.join(package_id)
|
||||||
@@ -210,7 +210,7 @@ impl Volume {
|
|||||||
path.strip_prefix("/").unwrap()
|
path.strip_prefix("/").unwrap()
|
||||||
} else {
|
} else {
|
||||||
path.as_ref()
|
path.as_ref()
|
||||||
})),
|
}),
|
||||||
Volume::Certificate { interface_id } => ctx
|
Volume::Certificate { interface_id } => ctx
|
||||||
.datadir
|
.datadir
|
||||||
.join(PKG_VOLUME_DIR)
|
.join(PKG_VOLUME_DIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user