Skip to content

Commit

Permalink
adding just one key, merge is cleaner
Browse files Browse the repository at this point in the history
ytti committed Oct 18, 2019
1 parent 0ae37b5 commit ec0657a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions extra/syslog.rb
Original file line number Diff line number Diff line change
@@ -101,8 +101,7 @@ def junos(log, index, **opts)
end

def aruba(log, index, **opts)
opts[:user] = log[index + 2].split('=')[4].split(',')[0][1..-2]
opts
opts.merge user: log[index + 2].split('=')[4].split(',')[0][1..-2]
end

def handle_log(log, ipaddr)

0 comments on commit ec0657a

Please sign in to comment.