summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook_manifest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/cookbook_manifest.rb')
-rw-r--r--lib/chef/cookbook_manifest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook_manifest.rb b/lib/chef/cookbook_manifest.rb
index 4f80203ccf..0d21e9725c 100644
--- a/lib/chef/cookbook_manifest.rb
+++ b/lib/chef/cookbook_manifest.rb
@@ -148,7 +148,7 @@ class Chef
# the user to overwrite a frozen cookbook (a PUT against the
# normal #save_url raises a 409 Conflict in this case).
def force_save_url
- "#{cookbook_url_path}/#{name}/#{version}?force=true"
+ "#{save_url}?force=true"
end
# Update this CookbookManifest from the contents of another manifest, and