diff options
author | Ron <rgnv@users.noreply.github.com> | 2018-04-27 06:24:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 06:24:56 -0700 |
commit | 2bb40ad4d9e31cf2cd63a373f7c607eb86547e46 (patch) | |
tree | c12b52f0acd5192c457fa07189c4946674cd11fb /lib/oxidized/hook/awssns.rb | |
parent | ec90b081f0fed05497ce6ae21e4b4ba4d44ecc01 (diff) | |
parent | 83a00943d7333fafdfe352173713a22a5ac89f6f (diff) |
Merge pull request #1 from wk/pr-1280
massage into rubocop compliance
Diffstat (limited to 'lib/oxidized/hook/awssns.rb')
-rw-r--r-- | lib/oxidized/hook/awssns.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/oxidized/hook/awssns.rb b/lib/oxidized/hook/awssns.rb index dbc2d47..183cd2c 100644 --- a/lib/oxidized/hook/awssns.rb +++ b/lib/oxidized/hook/awssns.rb @@ -19,9 +19,8 @@ class AwsSns < Oxidized::Hook :node => ctx.node.name.to_s ) end - topic.publish({ + topic.publish( message: message.to_json - }) + ) end - end |