Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Correctly handle the uninstall call from the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
davewalter authored and xoebus committed Nov 10, 2017
1 parent 71a1359 commit d72bda9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autopilot.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ func getActionsForNewApp(appRepo *ApplicationRepo, appName, manifestPath, appPat
}

func (plugin AutopilotPlugin) Run(cliConnection plugin.CliConnection, args []string) {
if len(args) > 0 && args[0] == "CLI-MESSAGE-UNINSTALL" {
return
}

appRepo := NewApplicationRepo(cliConnection)
appName, manifestPath, appPath, err := ParseArgs(args)
fatalIf(err)
Expand Down

0 comments on commit d72bda9

Please sign in to comment.