Skip to content

Commit

Permalink
handle root_files as usual
Browse files Browse the repository at this point in the history
Signed-off-by: Thom May <[email protected]>
  • Loading branch information
Thom May committed Jun 1, 2018
1 parent 36cf0cc commit f4cc82c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/oc_erchef/apps/chef_objects/src/chef_cookbook_version.erl
Original file line number Diff line number Diff line change
Expand Up @@ -730,12 +730,9 @@ ensure_v2_metadata(Ejson) ->
Ejson
end.

expand_segment(<<"root_files">>, Data) ->
Data;
expand_segment(Segment, Data) ->
[ add_segment_to_filename(Segment, File) || File <- Data ].


ensure_v0_metadata(Ejson) ->
case ej:get({<<"all_files">>}, Ejson) of
undefined -> Ejson;
Expand Down

0 comments on commit f4cc82c

Please sign in to comment.