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

    https://github.com/apache/brooklyn-server/pull/635#discussion_r111547198
  
    --- Diff: 
rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/CatalogResource.java
 ---
    @@ -481,6 +498,10 @@ public CatalogPolicySummary getPolicy(String policyId, 
String version) throws Ex
                     Entitlements.getEntitlementContext().user());
             }
     
    +        if (LATEST.equals(version)) {
    +            version = null;
    --- End diff --
    
    DRY


---
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