[icinga-checkins] icinga.org: chef-icinga2/master: making rubocop happy

git at icinga.org git at icinga.org
Tue Aug 2 15:55:52 CEST 2016


Module: chef-icinga2
Branch: master
Commit: 6b5a165e3de5a39b1f81fe5c3d75cd15a7489f88
URL:    https://git.icinga.org/?p=chef-icinga2.git;a=commit;h=6b5a165e3de5a39b1f81fe5c3d75cd15a7489f88

Author: JJ Asghar <jj at chef.io>
Date:   Mon Aug  1 16:51:47 2016 -0500

making rubocop happy

---

 libraries/icinga2.rb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/icinga2.rb b/libraries/icinga2.rb
index ad8ef1a..6817161 100644
--- a/libraries/icinga2.rb
+++ b/libraries/icinga2.rb
@@ -45,7 +45,7 @@ def icinga_format(toplevel)
       target = v
     end
 
-    prefix += icinga_format(target)
+    prefix + icinga_format(target)
   end.join(', ')
 
   case toplevel



More information about the icinga-checkins mailing list