aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_release.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcl_release.erl')
-rw-r--r--src/rcl_release.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcl_release.erl b/src/rcl_release.erl
index f1a439c..dd3e479 100644
--- a/src/rcl_release.erl
+++ b/src/rcl_release.erl
@@ -288,9 +288,9 @@ parse_goal0(Constraint0, {ok, Release = #release_t{goals=Goals}})
parse_goal0(Constraint0, {ok, Release = #release_t{goals=Goals}})
when erlang:is_list(Constraint0) ->
case rcl_goal:parse(Constraint0) of
- {error, _Detail} ->
+ {fail, _Detail} ->
?RCL_ERROR({failed_to_parse, Constraint0});
- Constraint1 ->
+ {ok, Constraint1} ->
{ok, Release#release_t{goals = [Constraint1 | Goals]}}
end;
parse_goal0(_, E = {error, _}) ->