Skip to content

Commit

Permalink
Fixing the vmstats base key.
Browse files Browse the repository at this point in the history
Current version had no '.' to separate them. This should
fix it.
  • Loading branch information
ferd committed Feb 29, 2012
1 parent 468886e commit 9f26aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmstats_server.erl
Expand Up @@ -25,7 +25,7 @@ start_link(BaseKey) ->
init(BaseKey) ->
{ok, Delay} = application:get_env(vmstats, delay),
Ref = erlang:start_timer(Delay, self(), ?TIMER_MSG),
{ok, #state{key=BaseKey, timer_ref=Ref, delay=Delay}}.
{ok, #state{key=[BaseKey,$.], timer_ref=Ref, delay=Delay}}.

handle_call(_Msg, _From, State) ->
{noreply, State}.
Expand Down

0 comments on commit 9f26aa3

Please sign in to comment.