controlm/automation-api-quickstart

decommission_controlm.sh: config server delete missing -e

dcompane opened this issue · 0 comments

I suppose that the environment for the ctm cli is not really explicitly needed, as there should be only one in the container, but if a workload created and activated another environment for some work (and misbehaved and did not reset), the delete will fail.

The line containing

ctm config server:remotehost::delete

should be

ctm config server:agent::delete $CTM_SERVER $ALIAS -e $CTM_ENV

I did not pull because there are a few instances of the script and wanted to ensure it was not by design.