[ 
https://issues.apache.org/jira/browse/AMBARI-25116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Lysnichenko resolved AMBARI-25116.
-----------------------------------------
    Resolution: Fixed

> Bug at AbstractProviderModule class
> -----------------------------------
>
>                 Key: AMBARI-25116
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25116
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Here 
> org/apache/ambari/server/controller/internal/AbstractProviderModule.java:974
> there is a return statement within a loop without any condition. It is a 
> definite bug
> {code}
> for (Resource res : configResources) {
> return res.getPropertiesMap().get(PROPERTIES_CATEGORY);
> }
> return Collections.emptyMap();
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to