File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
api/router/app/pipeline/configure Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,9 @@ func (router PipelineConfigRouterImpl) InitPipelineConfigRouter(configRouter *mu
123123
124124 configRouter .Path ("/env/reset/{appId}/{environmentId}/{id}" ).HandlerFunc (router .restHandler .EnvConfigOverrideReset ).Methods ("DELETE" )
125125 configRouter .Path ("/env/namespace/{appId}/{environmentId}" ).HandlerFunc (router .restHandler .EnvConfigOverrideCreateNamespace ).Methods ("POST" )
126- configRouter .Path ("/env/namespace/update-empty-environment" ).HandlerFunc (router .restHandler .UpdateEmptyNamespaceInChartEnvConfigOverride ).Methods ("GET" )
126+
127+ // this api was made for issue :- https://github.com/devtron-labs/sprint-tasks/issues/2692
128+ configRouter .Path ("/env/namespace/populate-empty" ).HandlerFunc (router .restHandler .UpdateEmptyNamespaceInChartEnvConfigOverride ).Methods ("GET" )
127129
128130 configRouter .Path ("/cd-pipeline/workflow/history/{appId}/{environmentId}/{pipelineId}" ).HandlerFunc (router .restHandler .ListDeploymentHistory ).Methods ("GET" )
129131 configRouter .Path ("/cd-pipeline/workflow/logs/{appId}/{environmentId}/{pipelineId}/{workflowId}" ).HandlerFunc (router .restHandler .GetPrePostDeploymentLogs ).Methods ("GET" )
You can’t perform that action at this time.
0 commit comments