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

Remove the unnecessary view_to_hash call from Foreman controller #4327

Merged
merged 1 commit into from
Jul 23, 2018

Conversation

skateman
Copy link
Member

I'm doing stuff in the GTL area ant this call seems unused and unnecessary. All these things go through the report_data call and it's always a separate request. @AparnaKarve could you please verify?

@miq-bot add_reviewer @AparnaKarve
@miq-bot add_label celanup, gaprindashvili/no, GTLs, configuration management

@miq-bot miq-bot requested a review from AparnaKarve July 20, 2018 13:14
@miq-bot
Copy link
Member

miq-bot commented Jul 20, 2018

@skateman Cannot apply the following label because they are not recognized: celanup

@miq-bot
Copy link
Member

miq-bot commented Jul 20, 2018

Checked commit skateman@a648bac with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@mzazrivec mzazrivec self-assigned this Jul 23, 2018
@mzazrivec mzazrivec added this to the Sprint 91 Ending Jul 30, 2018 milestone Jul 23, 2018
@mzazrivec mzazrivec merged commit 9599f05 into ManageIQ:master Jul 23, 2018
@skateman skateman deleted the foreman-view-to-hash branch July 23, 2018 10:26
@AparnaKarve
Copy link
Contributor

@skateman Apologies for the late reply here -- I was caught up with other things on Friday and could not reply here.

While reviewing this, I have noticed a GTL bug... which is somewhat related to view_to_hash...

In the screenshot below, the Unassigned Profiles Group which is in the tree, needs to appear in the list view too (this seems to be broken since Gaprindashvili) -

screen shot 2018-07-20 at 2 47 10 pm

So just to be clear, as of now, view_to_hash does not seem to do anything - so it's probably OK to remove it.
Although after the report_data changes, the above bug needs to be addressed if possible.

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.

4 participants