Skip to content

Commit

Permalink
commands/filestore: fix gofmt
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Overbool <[email protected]>
  • Loading branch information
overbool committed Nov 6, 2018
1 parent 8865a1c commit 3340841
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions core/commands/filestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ For ERROR entries the error will also be printed to stderr.
return filestore.Verify(fs, c)
})
return res.Emit(out)
} else {
fileOrder, _ := req.Options[fileOrderOptionName].(bool)
next, err := filestore.VerifyAll(fs, fileOrder)
if err != nil {
return err
}
out := listResToChan(req.Context, next)
return res.Emit(out)
}

fileOrder, _ := req.Options[fileOrderOptionName].(bool)
next, err := filestore.VerifyAll(fs, fileOrder)
if err != nil {
return err
}
out := listResToChan(req.Context, next)
return res.Emit(out)
},
Encoders: cmds.EncoderMap{
cmds.Text: cmds.MakeTypedEncoder(func(req *cmds.Request, w io.Writer, out *filestore.ListRes) error {
Expand Down

0 comments on commit 3340841

Please sign in to comment.