Filename issue - not recording full filename in manifest

Broekn by change to get response on L0 completion, SFT was informing
penciller of the filename passed in (without extension), not the
completed one with the extension.
This commit is contained in:
martinsumner 2016-11-05 12:49:15 +00:00
parent 87b5bd0b18
commit 9e410d65e3

View file

@ -363,7 +363,7 @@ handle_cast({sft_newfroml0cache, Filename, Slots, FetchFun, PCL}, _State) ->
{noreply, State};
_ ->
leveled_penciller:pcl_confirml0complete(PCL,
Filename,
State#state.filename,
State#state.smallest_key,
State#state.highest_key),
{noreply, State}
@ -388,12 +388,7 @@ terminate(Reason, State) ->
ok = file:close(State#state.handle),
ok = file:delete(State#state.filename);
_ ->
case State#state.handle of
undefined ->
ok;
Handle ->
ok = file:close(Handle)
end
ok = file:close(State#state.handle)
end.
code_change(_OldVsn, State, _Extra) ->