mirror of https://github.com/calzoneman/sync.git
Fix partitioning for channels with capital letters
This commit is contained in:
parent
0de5f88eee
commit
2a2ed7ce1c
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue