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 <[email protected]>
  • Loading branch information
AliceInHunterland committed Nov 15, 2024
1 parent 380d112 commit 375b095
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 @@ -351,7 +351,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 354 in cli/util/upload_bin.go

View check run for this annotation

Codecov / codecov/patch

cli/util/upload_bin.go#L354

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

0 comments on commit 375b095

Please sign in to comment.