Skip to content

Commit

Permalink
polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamkou committed Jul 4, 2017
1 parent fb87153 commit 2e535ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/adapter/udp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ var _ = require('lodash'),
crypto = require('crypto'),
dgram = require('dgram');


/**
* [1] /src/main/java/org/graylog2/inputs/codecs/gelf/GELFMessageChunk.java
* at https://github.com/Graylog2/graylog2-server/blob/master/graylog2-server
Expand Down
2 changes: 1 addition & 1 deletion test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ module.exports = {
});

var client = adapter._createSocket();
sinon.stub(client, 'send').yields(new Error('sss'));
sinon.stub(client, 'send').yields(new Error('Random fail'));
sinon.stub(adapter, '_createSocket').returns(client);

adapter.send(msg, function (err, bytesSent) {
Expand Down

0 comments on commit 2e535ff

Please sign in to comment.