Skip to content

Commit 817880d

Browse files
committed
fixed validation check
1 parent dfbf96c commit 817880d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/github/jlangch/venice/util/ipc/impl/QueueValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static void validate(final String queueName) {
3636
"A queue name is limited to " + QUEUE_NAME_MAX_LEN + " characters!");
3737
}
3838

39-
if (!queueName.matches("wal")) {
39+
if (queueName.matches("wal")) {
4040
throw new IllegalArgumentException(
4141
"The queue name 'wal' is a preserved name!");
4242
}

0 commit comments

Comments
 (0)