Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in example #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/httpbin.erl
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ usecase_b() ->
% the use-case executes three HTTP GET requests
_ <- get_ip(),
_ <- get_ip(),
X <- get_ip(),
_ <- get_ip(),

% the result of last HTTP GET request is fed to HTTP POST request
_ <- post(X),
_ <- post(_),

% the result of previous HTTP POST request is fed again to HTTP POST request
_ <- post(X),
_ <- post(_),
return(_)
]).

Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}

,{knet, ".*",
{git, "https://github.com/kfsm/knet", {branch, 'release-2'}}
{git, "https://github.com/kfsm/knet", {tag, '2.0.0'}}
}

,{restd, ".*",
Expand Down