graph: Remove dead fns
@@ -441,24 +441,6 @@ impl SubgraphDeploymentEntity {
ops
}
- /// When starting the subgraph, we try to "unfail" it.
- pub fn unfail_operations(
- id: &SubgraphDeploymentId,
- new_health: SubgraphHealth,
- ) -> Vec<MetadataOperation> {
- let entity = entity! {
- failed: false,
- health: new_health,
- fatalError: Value::Null,
- };
-
- vec![update_metadata_operation(
- Self::TYPENAME,
- id.as_str(),
- entity,
- )]
- }
-
pub fn fail_operations(
id: &SubgraphDeploymentId,
error: SubgraphError,
@@ -475,21 +457,6 @@ impl SubgraphDeploymentEntity {
update_metadata_operation(Self::TYPENAME, id.as_str(), entity),
]
}
-
- pub fn update_synced_operations(
- id: &SubgraphDeploymentId,
- synced: bool,
- ) -> Vec<MetadataOperation> {
- let entity = entity! {
- synced: synced,
- };
-
- vec![update_metadata_operation(
- Self::TYPENAME,
- id.as_str(),
- entity,
- )]
- }
}
#[derive(Debug)]
