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 ddc46f1 commit 431ef1eCopy full SHA for 431ef1e
core/src/subgraph/trigger_processor.rs
@@ -328,7 +328,7 @@ where
328
deployment
329
} else {
330
// Fallback: create a synthetic deployment hash from data source
331
- let data_source_name = triggers[0].host.data_source().name();
+ let data_source_name = triggers.first().unwrap().host.data_source().name();
332
DeploymentHash::new(data_source_name)
333
.unwrap_or_else(|_| DeploymentHash::new("unknown").unwrap())
334
};
0 commit comments