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 1c1f908 tidy error message
1c1f908 is described below
commit 1c1f9082d288a348c632fe08e17d581e50ba9754
Author: Alex Heneveld <[email protected]>
AuthorDate: Tue Aug 17 14:35:15 2021 +0100
tidy error message
---
.../java/org/apache/brooklyn/rest/filter/HaHotCheckResourceFilter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/filter/HaHotCheckResourceFilter.java
b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/filter/HaHotCheckResourceFilter.java
index 128d06a..cbf0a6e 100644
---
a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/filter/HaHotCheckResourceFilter.java
+++
b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/filter/HaHotCheckResourceFilter.java
@@ -84,7 +84,7 @@ public class HaHotCheckResourceFilter implements
ContainerRequestFilter {
public void filter(ContainerRequestContext requestContext) throws
IOException {
String problem = lookForProblem(requestContext);
if (Strings.isNonBlank(problem)) {
- requestContext.abortWith(helper.disallowResponse(problem,
requestContext.getUriInfo().getAbsolutePath()+"/"+resourceInfo.getResourceMethod()));
+ requestContext.abortWith(helper.disallowResponse(problem,
requestContext.getUriInfo().getAbsolutePath()+"
("+resourceInfo.getResourceMethod()+")"));
}
}