Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
logstash-forwarder
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
LaaS
logstash-forwarder
Commits
eefee032
Commit
eefee032
authored
Apr 08, 2013
by
Jordan Sissel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- validation
parent
8ddbd85a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/lumberjack/server2.rb
lib/lumberjack/server2.rb
+5
-5
No files found.
lib/lumberjack/server2.rb
View file @
eefee032
...
@@ -18,11 +18,11 @@ module Lumberjack
...
@@ -18,11 +18,11 @@ module Lumberjack
:their_public_key
=>
nil
,
:their_public_key
=>
nil
,
}.
merge
(
options
)
}.
merge
(
options
)
#
[:my_secret_key, :their_public_key].each do |k|
[
:my_secret_key
,
:their_public_key
].
each
do
|
k
|
#
if @options[k].nil?
if
@options
[
k
].
nil?
#
raise "You must specify #{k} in Lumberjack::Server.new(...)"
raise
"You must specify
#{
k
}
in Lumberjack::Server.new(...)"
#
end
end
#
end
end
@context
=
ZMQ
::
Context
.
new
@context
=
ZMQ
::
Context
.
new
@socket
=
@context
.
socket
(
ZMQ
::
REP
)
@socket
=
@context
.
socket
(
ZMQ
::
REP
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment