NSAmelchev commented on a change in pull request #7358: IGNITE-12614 : Disallow 
silent deactivation of cluster to prevent in-mem data loss.
URL: https://github.com/apache/ignite/pull/7358#discussion_r375282621
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/commandline/ClusterStateChangeCommand.java
 ##########
 @@ -91,6 +148,14 @@
         catch (IllegalArgumentException e) {
             throw new IllegalArgumentException("Can't parse new cluster state. 
State: " + s, e);
         }
+
+        if (argIter.hasNextArg()) {
+            String arg = argIter.peekNextArg();
+            if ("--force".equalsIgnoreCase(arg)) {
 
 Review comment:
   Missed break line.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to