robot: Make linter happy

This commit is contained in:
Ettore Di Giacinto
2022-07-25 22:26:10 +00:00
committed by Itxaka
parent bc7c3b95dc
commit c8244f7dbd
4 changed files with 8 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"fmt"
"os"
"github.com/c3os-io/c3os/internal/provider"
@@ -21,5 +22,9 @@ func main() {
// Expected output: string
factory.Add(bus.EventChallenge, provider.Challenge)
factory.Run(pluggable.EventType(os.Args[1]), os.Stdin, os.Stdout)
err := factory.Run(pluggable.EventType(os.Args[1]), os.Stdin, os.Stdout)
if err != nil {
fmt.Println(err)
os.Exit(1)
}
}