Skip to content

Commit 900968f

Browse files
committed
removed deprecated flag:- UseDeploymentConfigData
1 parent 1aed5f4 commit 900968f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/deployment/common/deploymentConfigService.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,6 @@ func (impl *DeploymentConfigServiceImpl) GetConfigForHelmApps(appId, envId int)
389389
}
390390

391391
func (impl *DeploymentConfigServiceImpl) IsChartStoreAppManagedByArgoCd(appId int) (bool, error) {
392-
if !impl.deploymentServiceTypeConfig.UseDeploymentConfigData {
393-
return impl.installedAppReadService.IsChartStoreAppManagedByArgoCd(appId)
394-
}
395392
deploymentAppType, err := impl.deploymentConfigRepository.GetDeploymentAppTypeForChartStoreAppByAppId(appId)
396393
if err != nil && !util2.IsErrNoRows(err) {
397394
impl.logger.Errorw("error in GetDeploymentAppTypeForChartStoreAppByAppId", "appId", appId, "err", err)

0 commit comments

Comments
 (0)