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);
|
||||
|
||||
if self.is_schedulable(&queue_item) {
|
||||
println!("Can schedule");
|
||||
} else {
|
||||
if !self.is_schedulable(&queue_item) {
|
||||
println!("Not schedulable");
|
||||
return;
|
||||
}
|
||||
|
||||
println!("Can schedule");
|
||||
|
||||
todo!(
|
||||
r#"
|
||||
Need to finish this
|
||||
|
||||
Reference in New Issue
Block a user