summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hinderliter <tim@opscode.com>2010-11-22 15:14:26 -0800
committerSeth Falcon <seth@opscode.com>2010-11-24 15:22:16 -0800
commit9dca1e9e0cb9aefc6538fd98af9d57df5ac9d8c0 (patch)
treee903b8bfa1f8040e10cd74b4e5a89f2e216b82bf
parentadeefd88fb9a476269a3d133cbd31fe0fee9289e (diff)
downloadchef-9dca1e9e0cb9aefc6538fd98af9d57df5ac9d8c0.tar.gz
change comment to include CHEF- ticket number as well as PL-
-rw-r--r--chef/lib/chef/json.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/chef/lib/chef/json.rb b/chef/lib/chef/json.rb
index 1b1618c132..f83700dc40 100644
--- a/chef/lib/chef/json.rb
+++ b/chef/lib/chef/json.rb
@@ -24,8 +24,9 @@ class Chef
JSON_MAX_NESTING = 1000
class <<self
- # See PL-538. Increase the max nesting for JSON, which defaults to 19,
- # and isn't enough for some deep node (for example) structures.
+ # See CHEF-1292/PL-538. Increase the max nesting for JSON, which defaults
+ # to 19, and isn't enough for some (for example, a Node within a Node)
+ # structures.
def opts_add_max_nesting(opts)
if opts.nil? || !opts.has_key?(:max_nesting)
opts = opts.nil? ? Hash.new : opts.clone