We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71e8fb commit 10dd71eCopy full SHA for 10dd71e
remote/src/main/scala/org/apache/pekko/remote/RemoteSettings.scala
@@ -216,7 +216,7 @@ final class RemoteSettings(val config: Config) {
216
throw new ConfigurationException("pekko.remote.accept-protocol-names setting must not be empty. " +
217
"The setting is an array and the only acceptable values are \"pekko\" and \"akka\".")
218
}
219
- val filteredSet = set.filterNot(s => s == "akka" || s == "pekko")
+ val filteredSet = set.filterNot(AllowableProtocolNames.contains)
220
if (filteredSet.nonEmpty) {
221
throw new ConfigurationException("pekko.remote.accept-protocol-names is an array setting " +
222
"that only accepts the values \"pekko\" and \"akka\".")
0 commit comments