Skip to content

Commit 769c684

Browse files
Update modules/core/src/main/java/org/apache/ignite/topology/MdcTopologyValidator.java
Co-authored-by: Sergey Chugunov <sergey.chugunov@gmail.com>
1 parent c2f7869 commit 769c684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/main/java/org/apache/ignite/topology/MdcTopologyValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void checkConfiguration() {
9393
throw new IllegalStateException("Either set of datacenters or main datacenter should be specified.");
9494

9595
if (dcs != null && dcs.isEmpty())
96-
throw new IllegalStateException("Missing datacenters.");
96+
throw new IllegalStateException("Please provide a non-empty set of datacenters.");
9797

9898
if (mainDc != null && dcs != null && dcs.size() % 2 == 1)
9999
throw new IllegalStateException("Datacenters count must be even when main datacenter is set.");

0 commit comments

Comments
 (0)