[
https://issues.apache.org/jira/browse/AMBARI-15609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254866#comment-15254866
]
Juanjo Marron commented on AMBARI-15609:
----------------------------------------
Patch re-uploaded after changes proposed on Review Board
> Refactor get_stack_to_component() method
> ----------------------------------------
>
> Key: AMBARI-15609
> URL: https://issues.apache.org/jira/browse/AMBARI-15609
> Project: Ambari
> Issue Type: Technical task
> Components: ambari-agent, ambari-server
> Affects Versions: 2.1.0, 2.2.0
> Reporter: Juanjo Marron
> Assignee: Juanjo Marron
> Priority: Minor
> Fix For: 2.4.0
>
> Attachments: AMBARI-15609.patch
>
>
> The original intention of the get_stack_to_component function was to have a
> dictionary where the key was the stack name.
> At service level we always return the same key no matter what, then we should
> just return the string with the component name and no need to check
> params.stack_name
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)