Skip to content

Commit 63ae46e

Browse files
committed
Fix err return style
Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
1 parent c9dbaa9 commit 63ae46e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmd/lookoutd/common.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,7 @@ func (c *lookoutdCommand) Init(a *gocli.App) error {
6060

6161
var err error
6262
c.conf, err = c.initConfig()
63-
if err != nil {
64-
return err
65-
}
66-
67-
return nil
63+
return err
6864
}
6965

7066
// queueConsumerCommand represents the common options for serve, work

0 commit comments

Comments
 (0)