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

Fixed variable name to display value of extra_vars on Retirement tab #875

Merged

Conversation

h-kataria
Copy link
Contributor

@@ -314,8 +314,8 @@
%th
= _("Default value")
%tbody
- if retirement[:extra_vars]
- retirement[:extra_vars].each do |key, value|
Copy link
Contributor

Choose a reason for hiding this comment

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

@h-kataria - did this ever work? - Or did something else change at the controller level which no longer passed retirement in?

- if retirement[:extra_vars]
- retirement[:extra_vars].each do |key, value|
- if @record.config_info[:retirement][:extra_vars]
- @record.config_info[:retirement][:extra_vars].each do |key, value|
Copy link
Contributor

Choose a reason for hiding this comment

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

I tested this - it works for me.

@h-kataria h-kataria force-pushed the show_extra_vars_on_retirement_tab branch from cf5b5f2 to 0ac5791 Compare April 3, 2017 21:01
@miq-bot
Copy link
Member

miq-bot commented Apr 3, 2017

Checked commit h-kataria@0ac5791 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks good. 🍰

@h-kataria
Copy link
Contributor Author

@dclarizio please review/merge

@dclarizio dclarizio self-assigned this Apr 3, 2017
@dclarizio dclarizio merged commit 3393d3c into ManageIQ:master Apr 3, 2017
@dclarizio dclarizio added this to the Sprint 58 Ending Apr 10, 2017 milestone Apr 3, 2017
simaishi pushed a commit that referenced this pull request Apr 4, 2017
Fixed variable name to display value of extra_vars on Retirement tab
(cherry picked from commit 3393d3c)

https://bugzilla.redhat.com/show_bug.cgi?id=1438825
@simaishi
Copy link
Contributor

simaishi commented Apr 4, 2017

Fine backport details:

$ git log -1
commit 056bfb0956596fab1c95710155aad438dffebe1c
Author: Dan Clarizio <dclarizi@redhat.com>
Date:   Mon Apr 3 15:00:15 2017 -0700

    Merge pull request #875 from h-kataria/show_extra_vars_on_retirement_tab
    
    Fixed variable name to display value of extra_vars on Retirement tab
    (cherry picked from commit 3393d3c0f51f6dd52fbf8bd6544b3aedf0fb9d2d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1438825

@h-kataria h-kataria deleted the show_extra_vars_on_retirement_tab branch April 4, 2017 18:11
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.

5 participants