Repository navigation
try fix last deployed release - #7238
Closed
jason-liew wants to merge 3 commits into
Closed
jason-liew wants to merge 3 commits into
jason-liew wants to merge 3 commits into
Conversation
Signed-off-by: Jason Liew <[email protected]>
Author
Member
|
Hi @jason-liew. Would you mind writing a unit test to cover the case you are trying to fix? That would be much appreciated. Have a look at storage_test.go for ideas. Thanks! |
bacongobbler
requested changes
Dec 17, 2019
bacongobbler
left a comment
Member
There was a problem hiding this comment.
needs unit tests to confirm whether this fixes the issue proposed
Signed-off-by: Jason Liew <[email protected]>
Signed-off-by: Jason Liew <[email protected]>
jason-liew
force-pushed
the
try-fix-last-deployed-release
branch
from
December 19, 2019 06:42
6241b7d to
695eb46
Compare
jason-liew
commented
Dec 19, 2019
|
|
||
| return ls[0], err | ||
| // We want oldest to newest | ||
| relutil.SortByRevision(ls) |
Author
There was a problem hiding this comment.
usually the order is correct without sort. may be some storage driver need sort.
Author
|
Hi, @bacongobbler unit test updated. Thanks. |
Author
|
some similar pr has been merged |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Signed-off-by: Jason Liew [email protected]