summaryrefslogtreecommitdiff
path: root/lib/chef/deprecation
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-05-16 08:55:42 -0700
committersersut <serdar@opscode.com>2013-05-16 08:55:42 -0700
commitad2a8d7ab69213d7f2a6b367be12fa506adcb9b3 (patch)
tree3d16690b43580dc625c35ee7138d719fb5f1825e /lib/chef/deprecation
parent75edb5fe7ea4e51b269bb6e11a0c6b4cd491ff9b (diff)
downloadchef-ad2a8d7ab69213d7f2a6b367be12fa506adcb9b3.tar.gz
Spec for deprecation.
Diffstat (limited to 'lib/chef/deprecation')
-rw-r--r--lib/chef/deprecation/warnings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/deprecation/warnings.rb b/lib/chef/deprecation/warnings.rb
index 2286489d5f..22b28f93b0 100644
--- a/lib/chef/deprecation/warnings.rb
+++ b/lib/chef/deprecation/warnings.rb
@@ -27,7 +27,7 @@ class Chef
Chef::Log.warn "Method '#{name}' of '#{self.class}' is deprecated. It will be removed in Chef 12."
Chef::Log.warn "Please update your cookbooks accordingly. Accessed from:"
caller[0..3].each {|l| Chef::Log.warn l}
- m.send(args)
+ super(*args)
end
end
end