fix IRCFirehoseFactory json name/nick mismatch

* Now it is nick as per wikipedia example
This commit is contained in:
Charles Allen 2015-05-01 12:31:40 -07:00
parent 15ed308a4b
commit 27e25fe513
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
)