Closed davewalter closed 6 years ago
When you try to uninstall the plugin using cf uninstall-plugin autopilot, the CLI calls the plugin with a single argument of CLI-MESSAGE-UNINSTALL (see https://github.com/cloudfoundry/cli/tree/master/plugin/plugin_examples#uninstalling-a-plugin).
cf uninstall-plugin autopilot
CLI-MESSAGE-UNINSTALL
This PR makes it so that the plugin treats that as a no-op, instead of panicking here: https://github.com/contraband/autopilot/blob/master/autopilot.go#L130
Thanks!
When you try to uninstall the plugin using
cf uninstall-plugin autopilot
, the CLI calls the plugin with a single argument ofCLI-MESSAGE-UNINSTALL
(see https://github.com/cloudfoundry/cli/tree/master/plugin/plugin_examples#uninstalling-a-plugin).This PR makes it so that the plugin treats that as a no-op, instead of panicking here: https://github.com/contraband/autopilot/blob/master/autopilot.go#L130