diff options
author | Danilo Sousa <danilopopeye@users.noreply.github.com> | 2017-09-14 16:10:08 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-14 16:10:08 -0300 |
commit | 525891295bcca31dba9e8a8079fa64a293335814 (patch) | |
tree | 605ae42153eb828b98b20fd922f17a419d7c7b93 /lib/oxidized/nodes.rb | |
parent | 1ec63b1bf1d3f6034665af7afe0a0a9df3928ec5 (diff) | |
parent | f2beb09e8fcc3b301cd1afac5a4b5408821206ab (diff) |
Merge pull request #1025 from ZacharyPuls/node-email-fix
Fix issue where "email" JSON field is not being passed through from REST API
Diffstat (limited to 'lib/oxidized/nodes.rb')
-rw-r--r-- | lib/oxidized/nodes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb index 6751c7a..3f84e15 100644 --- a/lib/oxidized/nodes.rb +++ b/lib/oxidized/nodes.rb @@ -68,6 +68,7 @@ module Oxidized with_lock do n = del node n.user = opt['user'] + n.email = opt['email'] n.msg = opt['msg'] n.from = opt['from'] # set last job to nil so that the node is picked for immediate update |