Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
Remove TODO for de-duplicating data item code.
Browse files Browse the repository at this point in the history
Correctly de-duplicating is a bit involved and the code is related to
"compatibility mode," which will be removed once server support is
added. So we can live with the duplication for now.
  • Loading branch information
danielsdeleo committed Dec 2, 2014
1 parent 406e8c5 commit 9e7ed80
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/chef-dk/policyfile_services/export_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ def copy_cookbook(lock)
end

def create_policyfile_data_item
# TODO: duplicates c/policyfile/uploader, move logic to PolicyfileLock

policy_id = "#{policyfile_lock.name}-#{POLICY_GROUP}"
item_path = File.join(export_dir, "data_bags", "policyfiles", "#{policy_id}.json")

Expand Down

0 comments on commit 9e7ed80

Please sign in to comment.