-
Notifications
You must be signed in to change notification settings - Fork 59
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 DealStages to track and log Deal status updates #502
Merged
Merged
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
1de66af
Add DealStages field to track and keep history of lifecycle of deal
nonsense 6458ab5
fixup
nonsense d96bb00
fixup
nonsense ea81924
Update storagemarket/impl/clientstates/client_fsm.go
nonsense 779071d
Update storagemarket/impl/clientstates/client_fsm.go
nonsense 36bdc80
Update storagemarket/impl/clientstates/client_fsm.go
nonsense 3a26ef0
Update storagemarket/impl/clientstates/client_fsm.go
nonsense 9fb4cd6
Update storagemarket/impl/clientstates/client_fsm.go
nonsense a9a76d3
Update storagemarket/impl/clientstates/client_fsm.go
nonsense 093be6f
Update storagemarket/impl/clientstates/client_fsm.go
nonsense 86f83ba
Update storagemarket/impl/clientstates/client_fsm.go
nonsense b6c677d
decrease log level to debug
nonsense afdc591
Update storagemarket/impl/clientstates/client_fsm.go
nonsense 074a8a3
Update storagemarket/impl/clientstates/client_fsm.go
nonsense 00df6da
explicit set of log with empty value
nonsense a848de8
fix test
nonsense d9118f7
fix: dont panic when adding log to nil DealStages
dirkmc c190288
Merge pull request #506 from filecoin-project/fix/deal-stages-nil
nonsense 6e52629
resolved conflicts
nonsense dfc7924
Merge branch 'add-deal-stages' of github.com:filecoin-project/go-fil-…
nonsense 5d6a7df
Merge branch 'master' into add-deal-stages
raulk 3f13328
add godocs to deal stages objects.
raulk c7ea918
Merge branch 'master' into add-deal-stages
raulk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd merge this with the above map, making it a
map[StorageDealStatus]struct{Name: string, Desc: string}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The DealStates map is already used in a lot of places across the code so if you unify the maps, may be a good idea to add an init() function that also recreates the DealStates map
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the main reason I created a new map.
I suggest we do that refactor as a next step, as I am sure we will want to adjust messages and descriptions very soon.