Skip to content

Commit

Permalink
Give non-zero exit code for k3sup app
Browse files Browse the repository at this point in the history
This is so CI scripts and automation fails

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Feb 26, 2020
1 parent 59a8fa9 commit 6645e9b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions cmd/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ command.`,
}

command.RunE = func(cmd *cobra.Command, args []string) error {
fmt.Printf(
`The "k3sup app install/info" command has moved to a new home.
return fmt.Errorf(`
The "k3sup app install/info" command has moved to a new home.
You can now install Kubernetes apps via the arkade project.
To find out more about this decision, see the following issue:
Expand All @@ -35,10 +35,7 @@ Example:
curl -sSL https://dl.get-arkade.dev/ | sudo sh
Read more about https://get-arkade.dev/
`)
return nil
Read more about https://get-arkade.dev/`)
}

return command
Expand Down

0 comments on commit 6645e9b

Please sign in to comment.