Fix typos (worker type)
This commit is contained in:
parent
c524b8b1ce
commit
f4e8515794
@ -1,6 +1,6 @@
|
||||
{application,gmhive_client,
|
||||
[{description,"Gajumaru Hive client"},
|
||||
{vsn,"0.1.1"},
|
||||
{vsn,"0.1.2"},
|
||||
{registered,[]},
|
||||
{applications,[kernel,stdlib,sasl,gproc,enoise,gmconfig,
|
||||
gmhive_protocol,gmhive_worker]},
|
||||
|
@ -27,12 +27,12 @@ schema() ->
|
||||
pubkey => str(#{pattern => ?ACCOUNT_PATTERN},
|
||||
<<"Primary client pubkey">>)
|
||||
, extra_pubkeys => array(#{ description =>
|
||||
<<"Additional miner pubkeys, sharing rewards">>
|
||||
<<"Additional worker pubkeys, sharing rewards">>
|
||||
, default => []
|
||||
},
|
||||
str(#{pattern => ?ACCOUNT_PATTERN}))
|
||||
, type => str(#{ enum => [<<"miner">>, <<"monitor">>]
|
||||
, default => <<"miner">>
|
||||
, type => str(#{ enum => [<<"worker">>, <<"monitor">>]
|
||||
, default => <<"worker">>
|
||||
, description => <<"monitor mode can be used to see if a pool is alive">>})
|
||||
, pool => pool()
|
||||
, pool_admin => pool_admin()
|
||||
|
@ -442,7 +442,7 @@ to_atom(A) when is_atom(A) -> A;
|
||||
to_atom(S) ->
|
||||
binary_to_existing_atom(iolist_to_binary(S), utf8).
|
||||
|
||||
connected(Id, Type) when Type==miner; Type==monitor ->
|
||||
connected(Id, Type) when Type==worker; Type==monitor ->
|
||||
gmhc_server:connected(Id, Type).
|
||||
|
||||
disconnected(Id) ->
|
||||
|
@ -4,7 +4,7 @@
|
||||
{prefix,"gmhc"}.
|
||||
{author,"Ulf Wiger, QPQ AG"}.
|
||||
{desc,"Gajumaru Hive Client"}.
|
||||
{package_id,{"uwiger","gmhive_client",{0,1,1}}}.
|
||||
{package_id,{"uwiger","gmhive_client",{0,1,2}}}.
|
||||
{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