diff options
Diffstat (limited to 'lib/chef/role.rb')
-rw-r--r-- | lib/chef/role.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/chef/role.rb b/lib/chef/role.rb index 218894ef03..c22c77b70d 100644 --- a/lib/chef/role.rb +++ b/lib/chef/role.rb @@ -168,12 +168,6 @@ class Chef self end - # Create a Chef::Role from JSON - def self.json_create(o) - Chef.deprecated(:json_auto_inflate, "Auto inflation of JSON data is deprecated. Please use Chef::Role#from_hash") - from_hash(o) - end - def self.from_hash(o) role = new role.name(o["name"]) |