-
Notifications
You must be signed in to change notification settings - Fork 95
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
THREESCALE-11633 fix application controller nil pointer #1065
base: master
Are you sure you want to change the base?
Conversation
@@ -268,6 +268,11 @@ func (r *ApplicationReconciler) removeApplicationFrom3scale(application *capabil | |||
return nil | |||
} | |||
|
|||
if account.Status.ID == nil { |
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.
Will this throw a nil pointer if account.Status is nil?
if account.Status.ID == nil { | |
if account.Status != nil && account.Status.ID == nil { |
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.
No, following the verification steps you will get to try it out as we are adding the account CRs back on to the cluster but without the status.
"Failed to pull image "image-registry.openshift-image-registry.svc" Restarting e2e /test test-e2e |
/test test-e2e |
Going to extend this with parent/child logic between applications and dev acc |
/test test-e2e |
Jira: https://issues.redhat.com/browse/THREESCALE-11633
Verification:
Install 3scale:
make cluster/prepare/local
make run
Test 1:
Test 2:
Test 3: