Skip to content
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

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

zdtsw
Copy link
Member

@zdtsw zdtsw commented Aug 26, 2024

Description

How Has This Been Tested?

Screenshot or short clip

Merge criteria

  • You have read the contributors guide.
  • Commit messages are meaningful - have a clear and concise summary and detailed explanation of what was changed and why.
  • Pull Request contains a description of the solution, a link to the JIRA issue, and to any dependent or related Pull Request.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@openshift-ci openshift-ci bot requested review from adelton and AjayJagan August 26, 2024 08:20
@zdtsw zdtsw requested review from lburgazzoli, ykaliuta and VaishnaviHire and removed request for adelton and AjayJagan August 26, 2024 08:21
@ykaliuta
Copy link
Contributor

What about createOdhNamespace() calls?

@zdtsw
Copy link
Member Author

zdtsw commented Aug 26, 2024

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>
Copy link

openshift-ci bot commented Aug 29, 2024

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change, btw

Copy link
Member Author

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

@zdtsw zdtsw merged commit 1a8ce2c into opendatahub-io:incubation Aug 29, 2024
7 of 8 checks passed
zdtsw referenced this pull request in zdtsw-forking/rhods-operator Aug 30, 2024
- 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)
zdtsw referenced this pull request in red-hat-data-services/rhods-operator Aug 30, 2024
- 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants