-
Notifications
You must be signed in to change notification settings - Fork 800
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
Check the length of parts while using ParseNamespacedName and ParseNamespacedNameContainer #2141
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
16154e7
check length of parts
26c79b5
check length of parts
fa72055
fix: deadline reconciler, keep deadline exceed with true (#2120)
STRRL a5aaae1
chore: disable scope in advance (#2135)
g1eny0ung 1fd55dd
Merge branch 'master' into master
FingerLeader 857fb88
Merge branch 'master' into master
FingerLeader 337e063
adding error throwing to ParseNamespacedName and ParseNamespacedNameC…
FingerLeader dac2f8b
Merge branch 'master' of https://github.com/FingerLeader/chaos-mesh
FingerLeader a71b8e1
Merge branch 'master' into master
FingerLeader 8f39d26
adding error throwing to ParseNamespacedName and ParseNamespacedNameC…
FingerLeader 4e3070f
adding error throwing to ParseNamespacedName and ParseNamespacedNameC…
FingerLeader b87a0fa
Merge branch 'master' of https://github.com/FingerLeader/chaos-mesh
FingerLeader 3d337c5
delete fallpoint files
FingerLeader 67bc490
chang func ParseNamespacedaNameContainer to ParseNamespacedName in ht…
FingerLeader 63b49b3
change func ParseNamespacedaNameContainer to ParseNamespacedName in h…
FingerLeader c0b3a64
change func ParseNamespacedaNameContainer to ParseNamespacedName in h…
FingerLeader 5b99b68
change func ParseNamespacedaNameContainer to ParseNamespacedName in h…
FingerLeader 338619e
change func ParseNamespacedaNameContainer to ParseNamespacedName in h…
FingerLeader f13cafb
add length check of parts without error throwing
FingerLeader 588ac79
change ParseNamespacedNameContainr to ParseNamespacedName in recover
FingerLeader 7b9d5fc
change ParseNamespaecdName back to ParseNamespacedName
FingerLeader 07cde4d
change ParseNamespacedName to ParseNamespacedNameContainer
FingerLeader ca88de6
ParseNamespacedName return values when length of parts > 1
FingerLeader eb18be4
Merge branch 'master' into master
FingerLeader 084d57a
add error throwing to ParseNamespacedNameContainer and ParseNamespace…
FingerLeader 9b84118
error throwing added ParseNamespacedNameContainer and ParseNamespaced…
27a1657
Merge branch 'master' into master
FingerLeader c9045c5
revert: rollback unexpected file mode changes.
Colstuwjx 90ad42c
change content of setupLog
FingerLeader 209de76
change content of setupLog
FingerLeader 128c47e
Merge branch 'master' into master
ti-chi-bot 7192928
Merge branch 'master' into master
ti-chi-bot File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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
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.
If it parses failed, both of the
containerName
andpodId
should be the empty strings, it's non-sense to define this error, I suggest just return it.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 did just as you say, but httpchaos threw an error of can't find pod "", so I add this error.
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.
But I find that may be the wrong use of
NewFailToFindContainer
in httpchaosThere 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
ParseNamespacedNameContainer
returns error should be sth liketoo few parts of namespacedname
as L51, it's different tocan't find pod ""
.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.
That happended when I haven't add this error.
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 is the e2e-test log of the past without error adding
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.
There are many commits after that time e2e test, how about trigger a new CI test, and let's see what gonna happen.
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.
Which version of code do you referring to? The one without error throwing?
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 mean we could just return the error as I suggested, and let's see the ci test result. If there are still some errors, I would help you dive into the root cause.
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.
It's still an issue.