Qiang Zhang created RANGER-1232: ----------------------------------- Summary: spelling error for StromTopologyName in Key: RANGER-1232 URL: https://issues.apache.org/jira/browse/RANGER-1232 Project: Ranger Issue Type: Bug Components: Ranger Affects Versions: 0.6.2 Reporter: Qiang Zhang
package org.apache.ranger.services.storm.client; public class StormResourceMgr { public static List<String> getStormResources(String serviceName, Map<String, String> configs,ResourceLookupContext context) { String userInput = context.getUserInput(); Map<String, List<String>> resourceMap = context.getResources(); List<String> resultList = null; List<String> StormTopologyList = null; String StromTopologyName = null; ---------should be modify to StormTopologyName if ( resourceMap != null && !resourceMap.isEmpty() && resourceMap.get(TOPOLOGY) != null ) { StromTopologyName = userInput; -------------should be modify to StormTopologyName StormTopologyList = resourceMap.get(TOPOLOGY); } else { StromTopologyName = userInput; ---------------- should be modify to StormTopologyName -- This message was sent by Atlassian JIRA (v6.3.4#6332)