Skip to content

Commit

Permalink
feat(agent): fix typing warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Pegoraro committed Oct 16, 2023
1 parent ee83138 commit eded89d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ func init() {
diode.Register()
}

func Version(cmd *cobra.Command, args []string) {
func Version(_ *cobra.Command, _ []string) {
fmt.Printf("orb-agent %s\n", buildinfo.GetVersion())
os.Exit(0)
}

func Run(cmd *cobra.Command, args []string) {
func Run(_ *cobra.Command, _ []string) {

initConfig()

Expand Down Expand Up @@ -212,5 +212,5 @@ func main() {

rootCmd.AddCommand(runCmd)
rootCmd.AddCommand(versionCmd)
rootCmd.Execute()
_ = rootCmd.Execute()
}

0 comments on commit eded89d

Please sign in to comment.