Faidon Liambotis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/106717
Change subject: librenms: don't use stdlib's merge on phpdump()
......................................................................
librenms: don't use stdlib's merge on phpdump()
Change-Id: I19f981e80e0c80df5f90d2b1b1b6665b93cdccc2
---
M modules/librenms/lib/puppet/parser/functions/phpdump.rb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/17/106717/1
diff --git a/modules/librenms/lib/puppet/parser/functions/phpdump.rb
b/modules/librenms/lib/puppet/parser/functions/phpdump.rb
index 2033613..205f8ce 100644
--- a/modules/librenms/lib/puppet/parser/functions/phpdump.rb
+++ b/modules/librenms/lib/puppet/parser/functions/phpdump.rb
@@ -29,6 +29,6 @@
module Puppet::Parser::Functions
newfunction(:phpdump, :type => :rvalue) do |args|
fail 'phpdump() requires an argument' if args.empty?
- phpdump(args.inject(:merge))
+ phpdump(args)
end
end
--
To view, visit https://gerrit.wikimedia.org/r/106717
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I19f981e80e0c80df5f90d2b1b1b6665b93cdccc2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits