mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -05:00
Minor style fix
This commit is contained in:
parent
f3f0a3a5f7
commit
fd16de3675
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