This is an automated email from the ASF dual-hosted git repository.

oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 9c5e834  AMBARI-23556. Fix constraint issue during logfeeder log entry 
testing. (#979)
9c5e834 is described below

commit 9c5e834303ea28a12cbe1c7238148b402a74811e
Author: Olivér Szabó <oleew...@gmail.com>
AuthorDate: Thu Apr 12 20:20:54 2018 +0200

    AMBARI-23556. Fix constraint issue during logfeeder log entry testing. 
(#979)
---
 .../ambari/logsearch/model/request/impl/ShipperConfigTestRequest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/model/request/impl/ShipperConfigTestRequest.java
 
b/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/model/request/impl/ShipperConfigTestRequest.java
index 0cd39ba..5d37c54 100644
--- 
a/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/model/request/impl/ShipperConfigTestRequest.java
+++ 
b/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/model/request/impl/ShipperConfigTestRequest.java
@@ -20,6 +20,7 @@ package org.apache.ambari.logsearch.model.request.impl;
 
 import org.apache.ambari.logsearch.model.request.ShipperConfigTestParams;
 import org.hibernate.validator.constraints.NotBlank;
+import org.hibernate.validator.constraints.NotEmpty;
 
 import java.util.Map;
 
@@ -31,7 +32,7 @@ public class ShipperConfigTestRequest implements 
ShipperConfigTestParams {
   @NotBlank
   private String testEntry;
 
-  @NotBlank
+  @NotEmpty
   private Map<String, Object> shipperConfig;
 
   @Override

-- 
To stop receiving notification emails like this one, please contact
oleew...@apache.org.

Reply via email to