This commit is contained in:
nkorange 2019-06-05 11:05:56 +08:00
parent 9319b76d22
commit 7a593ffaee

View File

@ -42,8 +42,7 @@ public class SystemUtils {
/** /**
* Standalone mode or not * Standalone mode or not
*/ */
public static boolean STANDALONE_MODE = Boolean.parseBoolean( public static boolean STANDALONE_MODE = Boolean.getBoolean(STANDALONE_MODE_PROPERTY_NAME);
System.getenv(STANDALONE_MODE_PROPERTY_NAME));
public static final String STANDALONE_MODE_ALONE = "standalone"; public static final String STANDALONE_MODE_ALONE = "standalone";
public static final String STANDALONE_MODE_CLUSTER = "cluster"; public static final String STANDALONE_MODE_CLUSTER = "cluster";