fix: #1260
This commit is contained in:
parent
29dc221ee0
commit
67741c6712
@ -42,7 +42,8 @@ public class SystemUtils {
|
||||
/**
|
||||
* Standalone mode or not
|
||||
*/
|
||||
public static boolean STANDALONE_MODE = Boolean.getBoolean(STANDALONE_MODE_PROPERTY_NAME);
|
||||
public static boolean STANDALONE_MODE = Boolean.parseBoolean(
|
||||
System.getenv(STANDALONE_MODE_PROPERTY_NAME));
|
||||
|
||||
public static final String STANDALONE_MODE_ALONE = "standalone";
|
||||
public static final String STANDALONE_MODE_CLUSTER = "cluster";
|
||||
|
Loading…
Reference in New Issue
Block a user