Skip to content

Commit 576bbce

Browse files
committed
Change all CloudI services to use "request type" as the variable name for the request type (instead of "type") (affects OCaml, Haskell and Erlang services).
1 parent 9410b89 commit 576bbce

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/cloudi_service_http_cowboy1.erl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
%%%
1010
%%% MIT License
1111
%%%
12-
%%% Copyright (c) 2012-2018 Michael Truog <mjtruog at protonmail dot com>
12+
%%% Copyright (c) 2012-2019 Michael Truog <mjtruog at protonmail dot com>
1313
%%%
1414
%%% Permission is hereby granted, free of charge, to any person obtaining a
1515
%%% copy of this software and associated documentation files (the "Software"),
@@ -30,8 +30,8 @@
3030
%%% DEALINGS IN THE SOFTWARE.
3131
%%%
3232
%%% @author Michael Truog <mjtruog at protonmail dot com>
33-
%%% @copyright 2012-2018 Michael Truog
34-
%%% @version 1.7.5 {@date} {@time}
33+
%%% @copyright 2012-2019 Michael Truog
34+
%%% @version 1.8.0 {@date} {@time}
3535
%%%------------------------------------------------------------------------
3636

3737
-module(cloudi_service_http_cowboy1).
@@ -44,7 +44,6 @@
4444

4545
%% cloudi_service callbacks
4646
-export([cloudi_service_init/4,
47-
cloudi_service_handle_request/11,
4847
cloudi_service_handle_info/3,
4948
cloudi_service_terminate/3]).
5049

@@ -505,11 +504,6 @@ cloudi_service_init(Args, Prefix, _Timeout, Dispatcher) ->
505504
service = Service,
506505
handler_state = HandlerState}}.
507506

508-
cloudi_service_handle_request(_Type, _Name, _Pattern, _RequestInfo, _Request,
509-
_Timeout, _Priority, _TransId, _Pid,
510-
State, _Dispatcher) ->
511-
{reply, <<>>, State}.
512-
513507
cloudi_service_handle_info({update, UpdateDelaySeconds},
514508
#state{service = Service,
515509
handler_state = HandlerState} = State,

0 commit comments

Comments
 (0)