-
Notifications
You must be signed in to change notification settings - Fork 151
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
chore: remove dead code #1203
chore: remove dead code #1203
Conversation
What about createOdhNamespace() calls? |
i will clean the 2nd one as well. |
- the same code has been called up in the Reconcile() - for both DSCI status and appl. namespace creation Signed-off-by: Wen Zhou <wenzhou@redhat.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ykaliuta The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -144,15 +144,15 @@ func (r *DSCInitializationReconciler) Reconcile(ctx context.Context, req ctrl.Re | |||
saved.Status.Phase = status.PhaseProgressing | |||
}) | |||
if err != nil { | |||
r.Log.Error(err, "Failed to add conditions to status of DSCInitialization resource.", "DSCInitialization Request.Name", req.Name) | |||
r.Log.Error(err, "Failed to add conditions to status of DSCInitialization resource.", "DSCInitialization", req.Namespace, "Request.Name", req.Name) |
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.
Unrelated change, btw
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.
yeah, when removed the duplicated one, saw it has better logging than the kept one, so i just use it instead
- the same code has been called up in the Reconcile() - for both DSCI status and appl. namespace creation Signed-off-by: Wen Zhou <wenzhou@redhat.com> (cherry picked from commit 1a8ce2c)
Description
https://github.com/opendatahub-io/opendatahub-operator/blame/778ca9962ed79313cb389ba2772c5fd21ebb97ec/controllers/dscinitialization/dscinitialization_controller.go#L138
How Has This Been Tested?
Screenshot or short clip
Merge criteria