Merge pull request #1331 from metamx/fixIrcFirehoseNameNick

fix IRCFirehoseFactory json name/nick mismatch
This commit is contained in:
Fangjin Yang 2015-05-01 15:35:08 -07:00
commit f734471f22
2 changed files with 1 additions and 2 deletions

View File

@ -84,7 +84,6 @@
"type": "realtime",
"firehose": {
"type": "irc",
"nick": "wiki1234567890",
"host": "irc.wikimedia.org",
"channels": [
"#en.wikipedia",

View File

@ -66,7 +66,7 @@ public class IrcFirehoseFactory implements FirehoseFactory<IrcInputRowParser>
@JsonCreator
public IrcFirehoseFactory(
@JsonProperty("name") String nick,
@JsonProperty("nick") String nick,
@JsonProperty("host") String host,
@JsonProperty("channels") List<String> channels
)