Skip to content

Instantly share code, notes, and snippets.

@thommay
Last active November 24, 2015 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thommay/3ea1ec3ab9982ddae66b to your computer and use it in GitHub Desktop.
Save thommay/3ea1ec3ab9982ddae66b to your computer and use it in GitHub Desktop.
make_dependencies(Dependencies) ->
[ begin
% Spec = iolist_to_binary(io_lib:format("~s ~s", [Match, Version])),
{[{Name, <<Match/binary, " ", Version/binary>>}]}
end || {Name, Version, Match} <- Dependencies].
make_dependencies(Dependencies) ->
[ begin
Spec = iolist_to_binary(io_lib:format("~s ~s", [Match, Version])),
{[{Name, Spec}]}
end || {Name, Version, Match} <- Dependencies].
[error] {<<"method=GET; path=/organizations/spincycle/universe; status=500; ">>,
{error,{error,badarg,[{chef_wm_universe,'-make_dependencies/1-lc$^0/1-0-',1,
[{file,"/host/src/oc_erchef/_build/dev/lib/oc_chef_wm/src/chef_wm_universe.erl"},{line,76}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment