Skip to content

Commit e3d9d24

Browse files
committed
indexer-common: Use consistent deployment names
1 parent a471099 commit e3d9d24

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/indexer-common/src/indexer-management/allocations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export class AllocationManager {
326326
await this.subgraphManager.ensure(
327327
logger,
328328
this.models,
329-
`${deployment.ipfsHash.slice(0, 23)}/${deployment.ipfsHash.slice(23)}`,
329+
`indexer-agent/${deployment.ipfsHash.slice(-10)}`,
330330
deployment,
331331
indexNode,
332332
)

packages/indexer-common/src/indexer-management/resolvers/allocations.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,7 @@ export default {
478478
await subgraphManager.ensure(
479479
logger,
480480
models,
481-
`${subgraphDeployment.ipfsHash.slice(0, 23)}/${subgraphDeployment.ipfsHash.slice(
482-
23,
483-
)}`,
481+
`indexer-agent/${subgraphDeployment.ipfsHash.slice(-10)}`,
484482
subgraphDeployment,
485483
indexNode,
486484
)

0 commit comments

Comments
 (0)