summaryrefslogtreecommitdiff
path: root/lib/chef_zero/rest_router.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2016-09-22 14:35:35 -0700
committerTim Smith <tsmith@chef.io>2016-09-22 14:35:35 -0700
commit2592e05d971245102eda5a9912dd3270410fab48 (patch)
treea1d1d5d5431d832b2d4b463badce84e13cf17119 /lib/chef_zero/rest_router.rb
parent841fe80d15a957100a23b2f41baa4a63c5bcedc0 (diff)
downloadchef-zero-2592e05d971245102eda5a9912dd3270410fab48.tar.gz
Fix a few chefstyle warningscontrib
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef_zero/rest_router.rb')
-rw-r--r--lib/chef_zero/rest_router.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/rest_router.rb b/lib/chef_zero/rest_router.rb
index 2b5e129..ce08204 100644
--- a/lib/chef_zero/rest_router.rb
+++ b/lib/chef_zero/rest_router.rb
@@ -60,13 +60,13 @@ module ChefZero
end
def log_response(response)
- ChefZero::Log.debug {
+ ChefZero::Log.debug do
[ "",
"--- RESPONSE (#{response[0]}) ---",
response[2].chomp,
"--- END RESPONSE ---",
].join("\n")
- }
+ end
end
end
end