Skip to content

Commit b6f3d30

Browse files
committed
change router path
1 parent 708ed69 commit b6f3d30

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/router/app/pipeline/configure/PipelineConfigRouter.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)