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

Cleaning up unused code paths #804

Merged
merged 3 commits into from
Feb 21, 2024
Merged

Cleaning up unused code paths #804

merged 3 commits into from
Feb 21, 2024

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Feb 16, 2024

No description provided.

Comment on lines 96 to 97
sql += 'DELETE FROM foreman_tasks_links as ftl ' \
'where ftl.task_id NOT IN (SELECT id FROM foreman_tasks_tasks);'
Copy link
Member

Choose a reason for hiding this comment

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

should we just roll this into the sql defined in L87-94? no need to += IMHO.

@@ -12,28 +12,12 @@ def run

def installer_cmd
installer = "yes | #{feature(:installer).installer_command} "
Copy link
Member

Choose a reason for hiding this comment

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

someone needs to remind me, why this yes | is required, but out of scope for this PR probably.

Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

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

some nitpicks, but nothing that I'd not merge as-is.

@ehelms ehelms merged commit 6078740 into theforeman:master Feb 21, 2024
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants