Skip to content

Commit

Permalink
fix: increase test cov
Browse files Browse the repository at this point in the history
  • Loading branch information
yohamta committed May 20, 2022
1 parent 138c3d2 commit 5837bcb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/start.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"log"
"os"

"github.com/urfave/cli/v2"
Expand Down Expand Up @@ -46,10 +45,5 @@ func start(cfg *config.Config) error {
a.Signal(sig)
})

err := a.Run()
if err != nil {
log.Printf("running agent: %v", err)
return err
}
return nil
return a.Run()
}

0 comments on commit 5837bcb

Please sign in to comment.