You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/09/22 09:52:34 UTC
[brooklyn-server] branch master updated: fix string summar for spec
hierarchy summary in tag
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
The following commit(s) were added to refs/heads/master by this push:
new 4e64e63 fix string summar for spec hierarchy summary in tag
4e64e63 is described below
commit 4e64e63f348f1e88b2599ced2fe14cce95582428
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Wed Sep 22 10:52:07 2021 +0100
fix string summar for spec hierarchy summary in tag
---
.../main/java/org/apache/brooklyn/rest/transform/TypeTransformer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/transform/TypeTransformer.java b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/transform/TypeTransformer.java
index 9812e2c..87e96d5 100644
--- a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/transform/TypeTransformer.java
+++ b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/transform/TypeTransformer.java
@@ -114,7 +114,7 @@ public class TypeTransformer {
if(specTag!= null){
// put the original spec tags first
SpecSummary.modifyHeadSpecSummary(specList, s ->
- s.summary.startsWith(s.format) ? "Converted to "+s :
+ s.summary.startsWith(s.format) ? "Converted to "+s.summary :
s.summary.contains(s.format) ? s.summary + ", converted" :
s.summary + ", converted to "+s.format);
SpecSummary.pushToList(specList, specTag);