Fix partitioning for channels with capital letters

This commit is contained in:
calzoneman 2016-07-09 01:50:53 -07:00
parent 0de5f88eee
commit 2a2ed7ce1c
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ class PartitionDecider {
} }
getPartitionIdentityForChannel(channel) { getPartitionIdentityForChannel(channel) {
channel = channel.toLowerCase();
const overrideMap = this.config.getOverrideMap(); const overrideMap = this.config.getOverrideMap();
if (overrideMap.hasOwnProperty(channel)) { if (overrideMap.hasOwnProperty(channel)) {
return overrideMap[channel]; return overrideMap[channel];