diff options
author | danielsdeleo <dan@getchef.com> | 2015-02-11 13:35:48 -0800 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2015-02-11 13:35:48 -0800 |
commit | 9c6488d6939d57d35301edbf51f42d760b2add2c (patch) | |
tree | 4b481ec66d24e1b919f148df9dea9c8921db4006 /lib/chef/cookbook_manifest.rb | |
parent | d19fa385eed8f96b5e851d0ffee71c141c5cbe8e (diff) | |
download | chef-9c6488d6939d57d35301edbf51f42d760b2add2c.tar.gz |
DRY force_save_url in CookbookManifest
Diffstat (limited to 'lib/chef/cookbook_manifest.rb')
-rw-r--r-- | lib/chef/cookbook_manifest.rb | 2 |
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 |