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.
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
Golang E2E in Openshift API-CI #1384
Golang E2E in Openshift API-CI #1384
Changes from all commits
f7e24f8
c32dbe0
5b758c4
5880b15
0ef1599
5962cf4
65a8f92
2070197
6f56b96
7eb299a
00ba830
66bf196
3d3bb7a
6b8d72b
5615d9f
0ad1613
435cdfc
455ab76
25d9d05
e3cc22e
71206b2
1232663
6a4226a
206eb96
a6a8bf2
0cabce7
1a307bc
8041d49
06ea958
c3f69b6
7a0dd70
7927677
1bb44c2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
One question: At this point is there ever a case where
err == k8sutil.ErrNoNamespace
anderr != k8sutil.ErrRunLocal
?Looking at the errors returned by cluster specific functions such as
initOperatorService()
andGetOperatorNamespace()
,GetOperatorName()
it seems they will all returnErrRunLocal
if running locally.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 a user is using our commands,
ErrNoNamespace
probably shouldn't be hit since we manually force the run mode. I do assume it's possible if a user manually runs it themselves withgo run cmd/manager/main.go
.