Commit a2206aef authored by kingwang's avatar kingwang

fix linter

parent 6d0ca6c9
...@@ -10,6 +10,7 @@ datadir* ...@@ -10,6 +10,7 @@ datadir*
build/chain33* build/chain33*
chain33_raft-1 chain33_raft-1
build/datadir build/datadir
build/fork-config
build/bityuan* build/bityuan*
build/para build/para
build/cli build/cli
......
...@@ -85,7 +85,7 @@ func serveHTTPRaftAPI(ctx context.Context, port int, confChangeC chan<- raftpb.C ...@@ -85,7 +85,7 @@ func serveHTTPRaftAPI(ctx context.Context, port int, confChangeC chan<- raftpb.C
case err := <-errorC: case err := <-errorC:
srv.Close() srv.Close()
if err != nil { if err != nil {
rlog.Error(fmt.Sprintf("the errorC chan receive a err (%v)\n", err.Error())) rlog.Error(fmt.Sprintf("the errorC chan receive a err (%v)\n", err.Error()))
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment