Skip to content

Commit

Permalink
fix[avas]:go program update
Browse files Browse the repository at this point in the history
  • Loading branch information
fishTsai20 committed Jan 23, 2024
1 parent b9b0f1a commit dc032ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/avas-indexer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: ethereum-etl
IMAGE_TAG: ${{ steps.get_version.outputs.VERSION }}
AVAS_GO_IMAGE_TAG: avas_24012301
AVAS_GO_IMAGE_TAG: avas_24012303
AVAS_GO_REPOSITORY: avas-open-indexer
run: |
echo "COPY --from=$ECR_REGISTRY/$AVAS_GO_REPOSITORY:$AVAS_GO_IMAGE_TAG /avas-open-indexer/indexer /\$PROJECT_DIR/indexer" >> avas_Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions blockchainetl/jobs/exporters/indexer_item_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ def call_go(self):
self.logger.info("Go program output: %s", result.stdout.decode())
except subprocess.CalledProcessError as e:
self.logger.error("Error calling Go program: %s",
str(e) + ", " + e.output.decode())
str(e) + ", " + str(e.output))
sys.exit(1)
except Exception as e:
self.logger.error(
"Error calling Go program: %s",
str(e) + ", " + e.output.decode())
str(e) + ", " + str(e.output))
sys.exit(1)
duration = datetime.now() - start_time
self.logger.info(
Expand Down

0 comments on commit dc032ee

Please sign in to comment.