Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Put back an old assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
mwillsey committed Oct 1, 2018
1 parent 40b1bde commit 2ea3331
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/src/plan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ impl GridView {
.droplets
.get_mut(&id)
.expect("Command gave back and invalid DropletId");
// FIXME shouldn't ignore
// assert!(droplet.destination.is_none());

assert!(droplet.destination.is_none());

let mapped_loc = placement.get(loc).unwrap_or_else(|| {
panic!(
"Input location {} wasn't in placement.\n All input locations: {:?}",
Expand Down

0 comments on commit 2ea3331

Please sign in to comment.