Skip to content

Commit

Permalink
cli: add details to the logs in upload-bin
Browse files Browse the repository at this point in the history
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
  • Loading branch information
AliceInHunterland committed Nov 15, 2024
1 parent 7c620b8 commit d400fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/util/upload_bin.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func uploadIndexFiles(ctx *cli.Context, p *pool.Pool, containerID cid.ID, accoun
fmt.Fprintf(ctx.App.Writer, "Index files are up to date. Existing: %d, expected: %d\n", existingIndexCount, expectedIndexCount)
return nil
}

fmt.Fprintf(ctx.App.Writer, "Current index files count: %d, expected: %d\n", existingIndexCount, expectedIndexCount)

Check warning on line 357 in cli/util/upload_bin.go

View check run for this annotation

Codecov / codecov/patch

cli/util/upload_bin.go#L357

Added line #L357 was not covered by tests
var (
buffer = make([]byte, indexFileSize*oidSize)
doneCh = make(chan struct{})
Expand Down

0 comments on commit d400fd1

Please sign in to comment.