Rename CommandConfiguration to Configuration

This commit is contained in:
NI
2019-08-19 21:34:25 +08:00
parent 1070c2bcf2
commit 0becf0d7fc
9 changed files with 16 additions and 16 deletions

View File

@@ -68,7 +68,7 @@ type dummyStreamCommand struct {
func newDummyStreamCommand(
l log.Logger,
w StreamResponder,
cfg CommandConfiguration,
cfg Configuration,
) FSMMachine {
return &dummyStreamCommand{
lock: sync.Mutex{},
@@ -180,7 +180,7 @@ func TestHandlerHandleStream(t *testing.T) {
lock := sync.Mutex{}
hhd := newHandler(
CommandConfiguration{},
Configuration{},
&cmds,
rw.NewFetchReader(readerSource),
wBuffer,