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

arp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 4563682  RATIS-792. NPE. ServerOpts.metaQuorum should be required (#49)
4563682 is described below

commit 45636823ac8e24621935e586f9b85919eef84973
Author: maobaolong <[email protected]>
AuthorDate: Sat Aug 1 01:34:33 2020 +0800

    RATIS-792. NPE. ServerOpts.metaQuorum should be required (#49)
---
 .../src/main/java/org/apache/ratis/logservice/server/ServerOpts.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ratis-logservice/src/main/java/org/apache/ratis/logservice/server/ServerOpts.java
 
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/server/ServerOpts.java
index 1285cf9..3e76620 100644
--- 
a/ratis-logservice/src/main/java/org/apache/ratis/logservice/server/ServerOpts.java
+++ 
b/ratis-logservice/src/main/java/org/apache/ratis/logservice/server/ServerOpts.java
@@ -46,7 +46,7 @@ public class ServerOpts {
   @Parameter(names = {"-d", "--dir"}, description = "Working directory")
   private String workingDir = null;
 
-  @Parameter(names = {"-q", "--metaQuorum"}, description = "Metadata Service 
Quorum")
+  @Parameter(names = {"-q", "--metaQuorum"}, description = "Metadata Service 
Quorum", required = true)
   private String metaQuorum = null;
 
   @Parameter(names = {"--metadataServerGroupId"}, description = "UUID 
corresponding to the RAFT metadata servers group",

Reply via email to