Skip to content

Commit a4b5ef7

Browse files
committed
Fix signature after cli vendor update.
1 parent 2d9c613 commit a4b5ef7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/semtech-bridge/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
var version string // set by the compiler
1818

19-
func run(c *cli.Context) {
19+
func run(c *cli.Context) error {
2020
log.SetLevel(log.Level(uint8(c.Int("log-level"))))
2121

2222
pubsub, err := mqttpubsub.NewBackend(c.String("mqtt-server"), c.String("mqtt-username"), c.String("mqtt-password"))
@@ -67,6 +67,7 @@ func run(c *cli.Context) {
6767
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
6868
log.WithField("signal", <-sigChan).Info("signal received")
6969
log.Warning("shutting down server")
70+
return nil
7071
}
7172

7273
func main() {

0 commit comments

Comments
 (0)