We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 844cff6 commit b39ca4bCopy full SHA for b39ca4b
store/postgres/src/subgraph_store.rs
@@ -767,7 +767,7 @@ impl SubgraphStoreInner {
767
let store = self.for_site(site.as_ref())?;
768
769
// Check that deployment is not assigned
770
- let mut removable = self.mirror.assigned_node(site.as_ref())?.is_some();
+ let mut removable = self.mirror.assigned_node(site.as_ref())?.is_none();
771
772
// Check that it is not current/pending for any subgraph if it is
773
// the active deployment of that subgraph
0 commit comments