Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add verbose mode to lotus-miner pieces list-cids #7699

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Nov 26, 2021

No description provided.

@magik6k magik6k requested a review from a team as a code owner November 26, 2021 23:07
@codecov
Copy link

codecov bot commented Nov 29, 2021

Codecov Report

Merging #7699 (f8b1328) into master (3b1d86b) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7699      +/-   ##
==========================================
- Coverage   39.56%   39.43%   -0.13%     
==========================================
  Files         637      637              
  Lines       67924    67957      +33     
==========================================
- Hits        26872    26800      -72     
- Misses      36446    36532      +86     
- Partials     4606     4625      +19     
Impacted Files Coverage Δ
cmd/lotus-miner/pieces.go 0.00% <0.00%> (ø)
journal/types.go 86.66% <0.00%> (-13.34%) ⬇️
chain/events/message_cache.go 87.50% <0.00%> (-12.50%) ⬇️
cli/util.go 41.66% <0.00%> (-8.34%) ⬇️
extern/sector-storage/worker_tracked.go 76.53% <0.00%> (-8.17%) ⬇️
blockstore/api.go 24.00% <0.00%> (-8.00%) ⬇️
blockstore/blockstore.go 62.96% <0.00%> (-7.41%) ⬇️
chain/stmgr/call.go 67.87% <0.00%> (-7.28%) ⬇️
chain/events/observer.go 71.64% <0.00%> (-6.72%) ⬇️
markets/retrievaladapter/client_blockstore.go 62.50% <0.00%> (-6.25%) ⬇️
... and 29 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b1d86b...f8b1328. Read the comment docs.

@@ -61,9 +68,54 @@ var piecesListCidInfosCmd = &cli.Command{
return err
}

w := tablewriter.New(tablewriter.Col("CID"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this gonna get printed in non verbose mode too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, tablewriter doesn't print anything with no entries

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh nice

@jennijuju jennijuju modified the milestones: v1.13.1, v1.13.2 Nov 29, 2021
@jennijuju jennijuju added the P2 P2: Should be resolved label Nov 29, 2021
@jennijuju jennijuju merged commit 4d2f337 into master Nov 29, 2021
@jennijuju jennijuju deleted the feat/listcids-verbose branch November 29, 2021 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 P2: Should be resolved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants