Skip to content

Commit

Permalink
opt: output deal id
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Apr 1, 2024
1 parent 70a032f commit 409c9e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cli/direct-deal.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ var getDirectDealCmd = &cli.Command{

data := []kv{
{"Creation", time.Unix(int64(deal.CreatedAt), 0).Format(time.RFC3339)},
{"ID", deal.ID},
{"PieceCID", deal.PieceCID},
{"PieceSize", deal.PieceSize},
{"Client", deal.Client},
Expand Down
1 change: 1 addition & 0 deletions cmd/droplet-client/direct-deal.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ var directDealAllocate = &cli.Command{
if err := autoImportDealToDroplet(cctx, newAllocations, pieceInfos); err != nil {
return fmt.Errorf("failed to import deal to droplet: %w", err)
}
fmt.Println("successfully imported deal to droplet")
}

return nil
Expand Down

0 comments on commit 409c9e9

Please sign in to comment.