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", "type": "realtime",
"firehose": { "firehose": {
"type": "irc", "type": "irc",
"nick": "wiki1234567890",
"host": "irc.wikimedia.org", "host": "irc.wikimedia.org",
"channels": [ "channels": [
"#en.wikipedia", "#en.wikipedia",

View File

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