summaryrefslogtreecommitdiff
path: root/lib/chef/provider/deploy/revision.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/deploy/revision.rb')
-rw-r--r--lib/chef/provider/deploy/revision.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/deploy/revision.rb b/lib/chef/provider/deploy/revision.rb
index f1eb171cd7..89710088d1 100644
--- a/lib/chef/provider/deploy/revision.rb
+++ b/lib/chef/provider/deploy/revision.rb
@@ -97,7 +97,7 @@ class Chef
end
def save_cache(cache)
- Chef::FileCache.store("revision-deploys/#{new_resource.name}", cache.to_json)
+ Chef::FileCache.store("revision-deploys/#{new_resource.name}", Chef::JSONCompat.to_json(cache))
cache
end