fix: missing janitor count report

This commit is contained in:
Mohamed Sohail 2023-03-09 08:33:09 +00:00
parent 7b334e8691
commit c03932138d
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
2 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ jobs:
- name: Set outputs
run: |
echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "RELEASE_SHORT_COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV \
&& echo "RELEASE_SHORT_COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v2
@ -92,7 +92,7 @@ jobs:
go-version: 'stable'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist

View File

@ -99,7 +99,7 @@ func (j *Janitor) QueueMissingBlocks(ctx context.Context) error {
missingBlockCountReport := j.stats.GetHeadCursor() - lowerBound
if missingBlockCountReport > 10 {
j.logg.Info("janitor: missing blocks", "count")
j.logg.Info("janitor: missing blocks", "count", missingBlockCountReport)
}
rowsProcessed := 0