Github user geomacy commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/638#discussion_r114989902
  
    --- Diff: 
camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/creation/CampInternalUtils.java
 ---
    @@ -144,6 +146,38 @@ static AssemblyTemplate resolveDeploymentPlan(String 
plan, BrooklynClassLoadingC
             return spec;
         }
     
    +    static EnricherSpec<?> createEnricherSpec(String yamlPlan, 
BrooklynClassLoadingContext loader, Set<String> encounteredCatalogTypes) {
    +        DeploymentPlan plan = 
makePlanFromYaml(loader.getManagementContext(), yamlPlan);
    +
    +        //Would ideally re-use the PolicySpecResolver
    +        //but it is CAMP specific and there is no easy way to get hold of 
it.
    +        Object policies = 
checkNotNull(plan.getCustomAttributes().get(BasicBrooklynCatalog.ENRICHERS_KEY),
 "enricher config");
    --- End diff --
    
    variable name is still `policies`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to