Don't want to get nested in the scopes
This commit is contained in:
+3
-3
@@ -30,13 +30,13 @@ impl Service {
|
|||||||
|
|
||||||
println!("Queue item Id: {:?}", queue_item.id);
|
println!("Queue item Id: {:?}", queue_item.id);
|
||||||
|
|
||||||
if self.is_schedulable(&queue_item) {
|
if !self.is_schedulable(&queue_item) {
|
||||||
println!("Can schedule");
|
|
||||||
} else {
|
|
||||||
println!("Not schedulable");
|
println!("Not schedulable");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println!("Can schedule");
|
||||||
|
|
||||||
todo!(
|
todo!(
|
||||||
r#"
|
r#"
|
||||||
Need to finish this
|
Need to finish this
|
||||||
|
|||||||
Reference in New Issue
Block a user