mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-13 21:20:47 +00:00
robot: Make linter happy
This commit is contained in:
committed by
Itxaka
parent
bc7c3b95dc
commit
c8244f7dbd
@@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user