mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Merge pull request #404 from fkautz/pr_out_minor_style_fix
This commit is contained in:
commit
7f753a3965
8
main.go
8
main.go
@ -132,10 +132,8 @@ func main() {
|
|||||||
app.Flags = flags
|
app.Flags = flags
|
||||||
app.Action = runCmd
|
app.Action = runCmd
|
||||||
err := app.Run(os.Args)
|
err := app.Run(os.Args)
|
||||||
switch typedErr := err.(type) {
|
if err != nil {
|
||||||
case *iodine.Error:
|
log.Errorln(err)
|
||||||
{
|
|
||||||
log.Errorln(typedErr.EmitHumanReadable())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user