Fix some typos
This commit is contained in:
parent
65314eaaea
commit
c524b8b1ce
@ -1,6 +1,6 @@
|
||||
{application,gmhive_client,
|
||||
[{description,"Gajumaru Hive client"},
|
||||
{vsn,"0.1.0"},
|
||||
{vsn,"0.1.1"},
|
||||
{registered,[]},
|
||||
{applications,[kernel,stdlib,sasl,gproc,enoise,gmconfig,
|
||||
gmhive_protocol,gmhive_worker]},
|
||||
|
@ -15,19 +15,19 @@
|
||||
|
||||
-spec start([{atom(), any()}]) -> {ok, [atom()]} | {error, any()}.
|
||||
start(Opts) ->
|
||||
application:load(gmmp_client),
|
||||
{error,_} = application:stop(gmmp_client),
|
||||
application:load(gmhive_client),
|
||||
{error,_} = application:stop(gmhive_client),
|
||||
_ = lists:foreach(fun({K, V}) ->
|
||||
application:set_env(gmmp_client, K, V)
|
||||
application:set_env(gmhive_client, K, V)
|
||||
end, Opts),
|
||||
application:ensure_all_started(gmmp_client).
|
||||
application:ensure_all_started(gmhive_client).
|
||||
|
||||
start(_StartType, _StartArgs) ->
|
||||
set_things_up(),
|
||||
gmhc_sup:start_link().
|
||||
|
||||
start_phase(connect_to_primary, _StartType, []) ->
|
||||
case application:get_env(gmmp_client, auto_connect, true) of
|
||||
case application:get_env(gmhive_client, auto_connect, true) of
|
||||
true ->
|
||||
gmhc_connectors_sup:start_first_connector();
|
||||
false ->
|
||||
|
@ -2,9 +2,9 @@
|
||||
{type,app}.
|
||||
{modules,[]}.
|
||||
{prefix,"gmhc"}.
|
||||
{desc,"Gajumaru Hive Client"}.
|
||||
{author,"Ulf Wiger, QPQ AG"}.
|
||||
{package_id,{"uwiger","gmhive_client",{0,1,0}}}.
|
||||
{desc,"Gajumaru Hive Client"}.
|
||||
{package_id,{"uwiger","gmhive_client",{0,1,1}}}.
|
||||
{deps,[{"uwiger","setup",{2,2,4}},
|
||||
{"uwiger","gproc",{1,0,1}},
|
||||
{"uwiger","gmconfig",{0,1,2}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user