devtron icon indicating copy to clipboard operation
devtron copied to clipboard

All the Deleted Env of any cluster remain available in the the response of HelmEnvAutocomplete API

Open deepak-devtron opened this issue 1 year ago • 0 comments

Summary All the Deleted Env of any cluster remain available in the the response of HelmEnvAutocomplete API

Steps to Replicate

  1. Go to Global Configurations
  2. Add an Environment in any cluster
  3. Now Delete this Environment
  4. Hit "/orchestrator/env/autocomplete/helm"

Current Output

We are getting all the Deleted Environments with envId=0 in the response of this API

Expected Output

Deleted Environment should not come in the response of this API

deepak-devtron avatar Jul 11 '22 10:07 deepak-devtron