From 393132a1d83b9b2be36f0a40bca7fca30d2ad838 Mon Sep 17 00:00:00 2001 From: Shunichi Shinohara Date: Thu, 5 Nov 2015 23:43:10 +0900 Subject: [PATCH] Minor type fix --- src/machi_flu_filename_mgr.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/machi_flu_filename_mgr.erl b/src/machi_flu_filename_mgr.erl index 7566b18..0320749 100644 --- a/src/machi_flu_filename_mgr.erl +++ b/src/machi_flu_filename_mgr.erl @@ -67,12 +67,12 @@ ]). -define(TIMEOUT, 10 * 1000). --include("machi_projection.hrl"). %% included for pv1_epoch_n type +-include("machi_projection.hrl"). %% included for pv1_epoch type -record(state, {fluname :: atom(), tid :: ets:tid(), datadir :: string(), - epoch :: pv1_epoch_n() + epoch :: pv1_epoch() }). %% public API @@ -126,7 +126,7 @@ list_files_by_prefix(_FluName, Other) -> init([FluName, DataDir]) -> Tid = ets:new(make_filename_mgr_name(FluName), [named_table, {read_concurrency, true}]), {ok, #state{fluname = FluName, - epoch = 0, + epoch = {0, <<"NONE">>}, datadir = DataDir, tid = Tid}}.